Skip to content

Commit

Permalink
Don't run DNS comment workflow if no planned changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Apr 27, 2024
1 parent 228821c commit 80fb589
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dns-dry-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
add-pr-comment:
name: Add `octodns-sync` plan to comment
if: ${{ ! contains(needs.octodns-sync.outputs.plan, 'No changes were planned') }}
needs: [octodns-sync]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 80fb589

Please sign in to comment.