-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(pr-labeler): replace TimonVS/pr-labeler-action
Replace the `TimonVS/pr-labeler-action` with `release-drafter/release-drafter` as it has an [`autolabeler`][1] option that can autolabel PRs for us. This should fix labeling PRs from forks, see TimonVS/pr-labeler-action#25. I've kept the `.github/pr-labeler.yml` configuration file, so that links to it from the https://mermaid.js.org website continue to work. I've also kept everything in the same `.github/workflows/pr-labeler.yml` GitHub Actions workflow to make the `git diff` easier to review, and to keep the GitHub Actions permissions the same. [1]: https://github.com/release-drafter/release-drafter/blob/ff929b5ceb21bf2646a216e916f9a8bb507d48a3/README.md#autolabeler
- Loading branch information
1 parent
672a289
commit a1673d3
Showing
4 changed files
with
27 additions
and
38 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 |
---|---|---|
@@ -1,13 +1,19 @@ | ||
'Type: Bug / Error': | ||
- 'bug/*' | ||
- 'fix/*' | ||
'Type: Enhancement': | ||
- 'feature/*' | ||
- 'feat/*' | ||
'Type: Other': | ||
- 'other/*' | ||
- 'chore/*' | ||
- 'test/*' | ||
- 'refactor/*' | ||
'Area: Documentation': | ||
- 'docs/*' | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/release-drafter/release-drafter/master/schema.json | ||
autolabeler: | ||
- label: 'Type: Bug / Error' | ||
branch: | ||
- '/bug\/.+/' | ||
- '/fix\/.+/' | ||
- label: 'Type: Enhancement' | ||
branch: | ||
- '/feature\/.+/' | ||
- '/feat\/.+/' | ||
- label: 'Type: Other' | ||
branch: | ||
- '/other\/.+/' | ||
- '/chore\/.+/' | ||
- '/test\/.+/' | ||
- '/refactor\/.+/' | ||
- label: 'Area: Documentation' | ||
branch: | ||
- '/docs\/.+/' |
This file was deleted.
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
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