-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add 'sync-labels' to README.md * feat: add `sync-labels` option * Update action.yml * Update docs --------- Co-authored-by: Kaeden Wile <[email protected]> Co-authored-by: Stephan Miehe <[email protected]>
- Loading branch information
1 parent
de16e74
commit be327c6
Showing
4 changed files
with
52 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,3 +120,21 @@ jobs: | |
enable-versioned-regex: 0 | ||
include-title: 1 | ||
``` | ||
|
||
### Syncing Labels | ||
|
||
By default, labels that no longer match are not removed from the issue. To enable this functionality, explicity | ||
set `sync-labels` to `1`. | ||
|
||
``` | ||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: github/[email protected] | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: .github/labeler.yml | ||
enable-versioned-regex: 0 | ||
sync-labels: 1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters