bevy/.github/workflows/label.yml
Nathan Ward 21330a7217 fix automated pr labeling (#2316)
# Objective

- the PR labeler workflow will always add the `needs-traige` label to every pull request event

## Solution

- Limit this workflow to only be on the `opened` event
2021-06-07 22:37:12 +00:00

19 lines
325 B
YAML

name: PR-Labeler
on:
pull_request_target:
branches:
- main
types:
- opened
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/label-config.yml
sync-labels: true