Skip to content

Commit 821ef12

Browse files
committed
fixes
1 parent e45bb31 commit 821ef12

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/update-timestamps.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
5151
# TODO: find way to stop CI running if pushing to existing PR
5252
- name: Push new timestamps
53-
if: "${{ steps.timestamp_check.outputs.timestamps_changed }} == 0"
53+
if: steps.timestamp_check.outputs.timestamps_changed == '0'
5454
run: |
5555
git add environments/common/inventory/group_vars/all/defaults.yml
5656
git config user.name 'github-actions[bot]'
@@ -60,15 +60,14 @@ jobs:
6060
git push
6161
6262
build_fatimage:
63-
if: "${{ needs.upstream_check.outputs.timestamps_changed }} == 0"
63+
if: needs.upstream_check.outputs.timestamps_changed == '0'
6464
needs: upstream_check
6565
uses: stackhpc/ansible-slurm-appliance/.github/workflows/fatimage.yml@auto/bump-timestamps
6666
with:
6767
ci_cloud: LEAFCLOUD
68-
branch: auto/bump-timestamps
6968

7069
ci_and_pr:
71-
if: "${{ needs.upstream_check.outputs.timestamps_changed }} == 0"
70+
if: needs.upstream_check.outputs.timestamps_changed == '0'
7271
needs:
7372
- upstream_check
7473
- build_fatimage
@@ -100,5 +99,5 @@ jobs:
10099
echo "pr_exists=$?" >> "$GITHUB_OUTPUT"
101100
102101
- name: Create PR
103-
if: ${{ steps.pr-check.outputs.pr_exists }}
102+
if: steps.pr-check.outputs.pr_exists
104103
run: gh pr create --title "[Auto] Bump repo timestamps to latest" --base main --head auto/bump-timestamps

0 commit comments

Comments
 (0)