diff --git a/.github/workflows/copy-label-to-pr.yml b/.github/workflows/copy-label-to-pr.yml new file mode 100644 index 0000000000..5e46edfb5a --- /dev/null +++ b/.github/workflows/copy-label-to-pr.yml @@ -0,0 +1,30 @@ +name: Copy Labels to PR +on: + pull_request: + types: [opened] + +jobs: + copy-labels: + permissions: + contents: read + issues: read + pull-requests: write + runs-on: ubuntu-latest + name: Copy labels from linked issues + steps: + - name: copy-labels + uses: michalvankodev/copy-issue-labels@v1.3.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + labels-to-include: | + bug + build-configuration + breaking-change + code-maintenance + dependencies + feature + ignore-for-release-note + performance + refactor + repo-admin + translations