Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
Signed-off-by: Rishav Dhar <[email protected]>
  • Loading branch information
rdhar committed Dec 5, 2024
1 parent fac3e6b commit b6eeb96
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/tf_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,15 @@ jobs:
diff_exists=$(tofu show "tfplan" | grep -q "^Plan:" && echo "true" || echo "false")
echo "$diff_exists"
- run: echo ${{ steps.check.outputs.diff_exists }}

outputs:
diff_exists: ${{ steps.check.outputs.diff_exists }}

apply:
needs: tests
needs: [tests]
if: ${{ needs.tests.outputs.diff_exists == 'true' }}
runs-on: ubuntu-24.04

permissions:
actions: read # Required to download repository artifact.
checks: write # Required to add status summary.
contents: read # Required to checkout repository.
pull-requests: write # Required to add PR comment and label.

steps:
- run: echo "run apply"

0 comments on commit b6eeb96

Please sign in to comment.