Skip to content

Commit

Permalink
feat: conitnue on failure during drift detection
Browse files Browse the repository at this point in the history
  • Loading branch information
PriyeshM1 committed Dec 30, 2024
1 parent d579c01 commit 398a526
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/terraform-drift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ jobs:
echo "DRIFT_STATUS=drift" >> "$GITHUB_OUTPUT"
exit 1 # Fail if drift is detected
fi
continue-on-error: true
- name: Send Slack notification if drift is detected
if: steps.check-drift.outputs.DRIFT_STATUS == 'drift'
uses: slackapi/[email protected]
Expand Down

0 comments on commit 398a526

Please sign in to comment.