Skip to content

Commit 4f9d0c2

Browse files
authored
ci(workflows): specify pull_request_target branches (#28328)
1 parent 298569a commit 4f9d0c2

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/pr-rebase-needed.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: PR Needs Rebase
22
on:
33
push:
44
pull_request_target:
5+
branches:
6+
- main
57
types: [synchronize]
68

79
permissions:

.github/workflows/system-file-changes.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: System file changes
22

33
on:
44
pull_request_target:
5+
branches:
6+
- main
57
paths:
68
- "**"
79
- "!**.md"

.github/workflows/update-mdn-urls.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Update MDN urls
22

33
on:
44
pull_request_target:
5+
branches:
6+
- main
57
paths:
68
- "package-lock.json"
79

0 commit comments

Comments
 (0)