label-pr.yml 350 B

1234567891011121314151617181920212223
  1. #
  2. # label-pr.yml
  3. # Automatically close the PR if it's directed to a release branch
  4. #
  5. name: Apply Labels
  6. on:
  7. pull_request:
  8. branches:
  9. - bugfix-1.1.x
  10. - bugfix-2.0.x
  11. - dev-2.1.x
  12. jobs:
  13. apply_labels:
  14. runs-on: ubuntu-latest
  15. steps:
  16. - uses: actions/labeler@v2
  17. with:
  18. repo-token: "${{ secrets.GITHUB_TOKEN }}"