Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wtripp180901 committed Dec 20, 2024
1 parent e45bb31 commit 821ef12
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/update-timestamps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
# TODO: find way to stop CI running if pushing to existing PR
- name: Push new timestamps
if: "${{ steps.timestamp_check.outputs.timestamps_changed }} == 0"
if: steps.timestamp_check.outputs.timestamps_changed == '0'
run: |
git add environments/common/inventory/group_vars/all/defaults.yml
git config user.name 'github-actions[bot]'
Expand All @@ -60,15 +60,14 @@ jobs:
git push
build_fatimage:
if: "${{ needs.upstream_check.outputs.timestamps_changed }} == 0"
if: needs.upstream_check.outputs.timestamps_changed == '0'
needs: upstream_check
uses: stackhpc/ansible-slurm-appliance/.github/workflows/fatimage.yml@auto/bump-timestamps
with:
ci_cloud: LEAFCLOUD
branch: auto/bump-timestamps

ci_and_pr:
if: "${{ needs.upstream_check.outputs.timestamps_changed }} == 0"
if: needs.upstream_check.outputs.timestamps_changed == '0'
needs:
- upstream_check
- build_fatimage
Expand Down Expand Up @@ -100,5 +99,5 @@ jobs:
echo "pr_exists=$?" >> "$GITHUB_OUTPUT"
- name: Create PR
if: ${{ steps.pr-check.outputs.pr_exists }}
if: steps.pr-check.outputs.pr_exists
run: gh pr create --title "[Auto] Bump repo timestamps to latest" --base main --head auto/bump-timestamps

0 comments on commit 821ef12

Please sign in to comment.