pybind11/.github/workflows/labeler.yml

19 lines
472 B
YAML
Raw Normal View History

2020-10-09 20:40:12 +00:00
name: Labeler
on:
2020-10-02 21:09:58 +00:00
pull_request_target:
jobs:
2020-10-13 02:35:23 +00:00
label:
name: Labeler
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true
2020-10-13 02:35:23 +00:00
- 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