pybind11/.github/workflows/labeler.yml
2020-10-12 22:35:23 -04:00

19 lines
472 B
YAML

name: Labeler
on:
pull_request_target:
jobs:
label:
name: Labeler
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true
- uses: actions/labeler@main
if: "!(github.event.action == 'closed' && github.event.pull_request.merged == false)"
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler_merged.yml