From 821ef127939b523c2bb0a4dc061a58108bbc9b5a Mon Sep 17 00:00:00 2001 From: wtripp180901 Date: Fri, 20 Dec 2024 16:50:56 +0000 Subject: [PATCH] fixes --- .github/workflows/update-timestamps.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-timestamps.yml b/.github/workflows/update-timestamps.yml index 8b22b2b97..0d7b011e4 100644 --- a/.github/workflows/update-timestamps.yml +++ b/.github/workflows/update-timestamps.yml @@ -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]' @@ -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 @@ -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