diff --git a/.github/workflows/sync-labels-to-pr.yml b/.github/workflows/sync-labels-to-pr.yml new file mode 100644 index 0000000..b2831ac --- /dev/null +++ b/.github/workflows/sync-labels-to-pr.yml @@ -0,0 +1,18 @@ +name: Copy Issue Labels + +on: + pull_request: + types: [opened, edited] + branches: + - master + - hotfix/** + +jobs: + copy-issue-labels: + name: Copy labels from addressed issue(s) to PR + runs-on: ubuntu-latest + steps: + - name: copy-labels + uses: michalvankodev/copy-issue-labels@v1.3.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }}