You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -X POST -d '{"message": "Branch protections have changed for ${{ github.repository }} on ${{ matrix.branch }}. Please review the changes or revert the changes in GitHub. https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"}' \
50
+
${{ secrets.SLACK_WEBHOOK_URL }}
51
+
- name: Fail workflow
52
+
if: ${{ env.diff_failed == 'true' }}
53
+
run: |
54
+
echo "::error::Branch protections have been changed"
0 commit comments