Skip to content

Commit 664c9db

Browse files
committed
prevent exit on failure checks
1 parent 4771f5c commit 664c9db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/update-timestamps.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ jobs:
2121
. venv/bin/activate
2222
. environments/.stackhpc/activate
2323
git checkout -b auto/bump-timestamps || git checkout auto/bump-timestamps
24-
ansible-playbook ansible/ci/update_timestamps.yml
24+
ansible-playbook ansible/ci/update_timestamps.yml -v
2525
2626
- name: Check if timestamps were changed
2727
id: timestamp_check
2828
run: |
29+
set +e
2930
git diff --quiet
3031
echo "timestamps_changed=$?" >> "$GITHUB_OUTPUT"
3132
@@ -70,6 +71,7 @@ jobs:
7071
- name: Check if PR exists
7172
id: pr-check
7273
run: |
74+
set +e
7375
gh pr list --json headRefName --jq '.[].headRefName' | grep auto/bump-timestamps
7476
echo "pr_exists=$?" >> "$GITHUB_OUTPUT"
7577

0 commit comments

Comments
 (0)