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