pybind11/.github/workflows/labeler.yml

21 lines
470 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:
2020-10-13 03:04:16 +00:00
- uses: actions/labeler@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true
2020-10-13 03:04:16 +00:00
2020-10-13 02:35:23 +00:00
- uses: actions/labeler@main
2020-10-13 03:04:16 +00:00
if: "github.event.action == 'closed' && github.event.pull_request.merged == true"
2020-10-13 02:35:23 +00:00
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler_merged.yml