-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to copy labels from linked issues to the PR (#10010)
Signed-off-by: Kunal Kotwani <[email protected]>
- Loading branch information
1 parent
bc40428
commit 1eb8b3a
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Copy labels from linked issues | ||
on: | ||
pull_request_target: | ||
types: [opened, edited, review_requested, synchronize, reopened, ready_for_review] | ||
|
||
jobs: | ||
copy-issue-labels: | ||
if: github.repository == 'opensearch-project/OpenSearch' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: read | ||
contents: read | ||
pull-requests: write | ||
steps: | ||
- name: copy-issue-labels | ||
uses: michalvankodev/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
labels-to-exclude: | | ||
untriaged | ||
triaged |