Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Feb 25, 2025
2 parents c7ab541 + a454c45 commit 5c69321
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/enforce-branch-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@ name: Enforce Branch Policy

on:
pull_request:
push:
workflow_dispatch:
jobs:
enforce-branch-policy:
runs-on: ubuntu-latest
steps:
- name: Check for push event
if: github.event_name == 'push'
run: |
echo "Push events allowed."
exit 0
- name: Enforce main branch policy
if: github.ref == 'refs/heads/main'
run: |
Expand Down

0 comments on commit 5c69321

Please sign in to comment.