Skip to content

Commit 2a344c2

Browse files
committed
ci: only run copy label flow in upstream project #11450
1 parent 43547e7 commit 2a344c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/copy_labels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66

77
jobs:
88
copy-labels:
9+
if: "! github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]'"
10+
permissions:
11+
pull-requests: write
912
runs-on: ubuntu-latest
1013
name: Copy labels from linked issues
1114
steps:

0 commit comments

Comments
 (0)