diff --git a/.github/workflows/apply-issue-labels-to-pr.yml b/.github/workflows/apply-issue-labels-to-pr.yml new file mode 100644 index 0000000000000..6d864576c388f --- /dev/null +++ b/.github/workflows/apply-issue-labels-to-pr.yml @@ -0,0 +1,20 @@ +name: Copy issue labels to PR + +on: + pull_request: + pull_request_target: + +jobs: + copy-labels: + if: github.repository == 'opensearch-project/OpenSearch' + runs-on: ubuntu-latest + name: Copy labels from linked issues + steps: + - name: copy-labels + uses: DarshitChanpura/copy-issue-labels@v1.0.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + labels-to-exclude: | + untriaged + triaged +