Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-khattab committed Feb 9, 2024
2 parents e239569 + acce97c commit 1c45890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prevent-direct-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
github.event_name == 'push' &&
github.event.pull_request == null &&
!contains(github.event.head_commit.message, '[force]')
run:
run: |
echo "Warning: Direct pushes to the main branch without force are not recommended. Please use pull requests for code review."
exit 1

0 comments on commit 1c45890

Please sign in to comment.