woocommerce/.github/workflows/pr-project-label.yml

25 lines
662 B
YAML
Raw Normal View History

2022-02-21 22:32:37 +00:00
name: 'Label Pull Request Project'
on:
pull_request_target:
types:
- opened
- reopened
- synchronize
concurrency:
group: label-pr-${{ github.event_name }}-${{ github.event.action }}-${{ github.event.pull_request.head.ref }}
cancel-in-progress: true
permissions: {}
jobs:
label_project:
runs-on: ubuntu-20.04
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v3
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
configuration-path: .github/project-pr-labeler.yml