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