We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4117ab5 commit 0c48be7Copy full SHA for 0c48be7
1 file changed
tests/docker/local-image.yml
@@ -153,7 +153,8 @@ commandTests:
153
git -C /tmp/ws remote add origin /tmp/remote.git
154
echo "identity override" > /tmp/ws/e2e-identity.txt
155
set +e
156
- if GITHUB_WORKSPACE=/tmp/ws \
+ rc=0
157
+ GITHUB_WORKSPACE=/tmp/ws \
158
GITHUB_ACTOR=tester \
159
GITHUB_REPOSITORY=owner/repo \
160
GITHUB_OUTPUT=/tmp/github_output.txt \
@@ -166,11 +167,7 @@ commandTests:
166
167
INPUT_COMMIT_MESSAGE='identity override commit' \
168
INPUT_USER_NAME='Release Automation' \
169
INPUT_USER_EMAIL='release-bot@example.com' \
- /entrypoint.sh; then
170
- rc=0
171
- else
172
- rc=$?
173
- fi
+ /entrypoint.sh || rc=$?
174
set -e
175
test "$rc" -ne 0
176
test "$(git -C /tmp/ws log -1 --format=%an)" = "Release Automation"
0 commit comments