mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 15:12:01 +00:00
ci: label PRs when merged only for now
This commit is contained in:
parent
b8dc60ec8f
commit
6cc233cc32
10
.github/workflows/labeler.yml
vendored
10
.github/workflows/labeler.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: Labeler
|
name: Labeler
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target: [closed]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
label:
|
label:
|
||||||
@ -9,13 +9,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/labeler@main
|
- uses: actions/labeler@main
|
||||||
with:
|
if: github.event.pull_request.merged == true
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
sync-labels: true
|
|
||||||
|
|
||||||
- uses: actions/labeler@main
|
|
||||||
if: "github.event.type == 'closed' && github.event.pull_request.merged == true"
|
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
configuration-path: .github/labeler_merged.yml
|
configuration-path: .github/labeler_merged.yml
|
||||||
sync-labels: true
|
|
||||||
|
Loading…
Reference in New Issue
Block a user