Skip to content

Commit

Permalink
ci(issue-regex-labeler): remove sync-labels option (#25377)
Browse files Browse the repository at this point in the history
github/issue-labeler v3 introduced the following breaking
change: "Issue labels that do not match a regex will no longer
be removed by default unless you set sync-labels: to 1"

So we added `sync-labels: 1` to keep the previous behavior.

However, we only label new issues, not existing issues,
so the action does not need to sync or remove any labels.
  • Loading branch information
caugner authored Mar 16, 2023
1 parent 12f640a commit dfc39e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/issue-regex-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ jobs:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/issue-regex-labeler.yml
enable-versioned-regex: 0
sync-labels: 1

0 comments on commit dfc39e1

Please sign in to comment.