Skip to content

Commit

Permalink
added fail check
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottGibb committed Nov 28, 2024
1 parent a29080a commit bf326ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@ jobs:
PR: ${{ steps.cpr.outputs.pull-request-url }}
hide_and_recreate: true

- name: Fail if PR Created
run: |
if [ "${{ steps.cpr.outputs.pull-request-url }}" != "" ]; then
echo "A PR with formatting fixes has been created. Please merge it before proceeding."
exit 1
fi
# Create PR Comment

# - name: Create PR output
Expand Down

0 comments on commit bf326ba

Please sign in to comment.