Skip to content

Commit 3942469

Browse files
committed
Don't run DNS comment workflow if no planned changes
1 parent 172deca commit 3942469

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/dns-dry-run.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
2525
add-pr-comment:
2626
name: Add `octodns-sync` plan to comment
27+
if: ${{ ! contains(needs.octodns-sync.outputs.plan, 'No changes were planned') }}
2728
needs: [octodns-sync]
2829
runs-on: ubuntu-latest
2930
steps:

0 commit comments

Comments
 (0)