Skip to content

Commit 1eb8b3a

Browse files
authored
Add workflow to copy labels from linked issues to the PR (opensearch-project#10010)
Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>
1 parent bc40428 commit 1eb8b3a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Copy labels from linked issues
2+
on:
3+
pull_request_target:
4+
types: [opened, edited, review_requested, synchronize, reopened, ready_for_review]
5+
6+
jobs:
7+
copy-issue-labels:
8+
if: github.repository == 'opensearch-project/OpenSearch'
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: read
12+
contents: read
13+
pull-requests: write
14+
steps:
15+
- name: copy-issue-labels
16+
uses: michalvankodev/copy-issue-labels@v1.3.0
17+
with:
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
labels-to-exclude: |
20+
untriaged
21+
triaged

0 commit comments

Comments
 (0)