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

25 lines
662 B
YAML

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