Skip to content

Commit

Permalink
limit workflow target branches (#7468)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllyW committed Apr 8, 2024
1 parent 22ef52a commit 00e2983
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/AddPRComment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
on:
pull_request_target:
types: [opened]
branches:
- main

permissions:
pull-requests: write
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/BlockPRMerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Block PR merging on "do-not-merge" label
on:
pull_request_target:
types: [labeled, unlabeled]
branches:
- main

jobs:
block-merge:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/VersionCalPRComment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
workflow_dispatch:
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]
branches:
- main
paths:
- '**.py'

Expand Down

0 comments on commit 00e2983

Please sign in to comment.