Skip to content

Commit 7c71dd3

Browse files
committed
ci: inverted labeler logic
1 parent 99773fc commit 7c71dd3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/labeler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ jobs:
77
name: Labeler
88
runs-on: ubuntu-latest
99
steps:
10+
1011
- uses: actions/labeler@main
1112
with:
1213
repo-token: ${{ secrets.GITHUB_TOKEN }}
1314
sync-labels: true
15+
1416
- uses: actions/labeler@main
15-
if: "!(github.event.action == 'closed' && github.event.pull_request.merged == false)"
17+
if: "github.event.action == 'closed' && github.event.pull_request.merged == true"
1618
with:
1719
repo-token: ${{ secrets.GITHUB_TOKEN }}
1820
configuration-path: .github/labeler_merged.yml

0 commit comments

Comments
 (0)