Commit 6cc233cc by Henry Schreiner

ci: label PRs when merged only for now

parent b8dc60ec
name: Labeler name: Labeler
on: on:
pull_request_target: pull_request_target: [closed]
jobs: jobs:
label: label:
...@@ -9,13 +9,7 @@ jobs: ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment