Releases: TimonVS/pr-labeler-action
Releases · TimonVS/pr-labeler-action
v5.0.0
v4.1.1
v4.1.0
v4.0.0
What's Changed
- Refactor and simplify code by @TimonVS in #26
- Fix yaml example in README by @matrixik in #30
- Add MIT license and Github Action to check licenses of dependencies by @jzxhuang in #45
- Allow negative patterns to be used in an array by @athieriot in #37
- fix: upgrade GitHub Action to use Node16 by @martinm82 in #63
- Node 16 upgrade by @TimonVS in #67
- Update README to explain how to use labels w/ emojis by @FelixVita in #66
New Contributors
- @matrixik made their first contribution in #30
- @jzxhuang made their first contribution in #45
- @athieriot made their first contribution in #37
- @martinm82 made their first contribution in #63
- @FelixVita made their first contribution in #66
Full Changelog: v3.1.0...v4.0.0
v3.1.0
Changelog
- Refactor to TypeScript (#22) @hugo-vrijswijk
- Set-up CI using GitHub Actions (#21) @TimonVS
- Add configuration path option (#20) @amacado
- Don't apply default config when custom config is provided (#20) @amacado
✨ A huge thanks to @hugo-vrijswijk and @amacado for making this release happen!
v3.0.0
Changelog
Migration guide
As per v3, binding to the master version is no longer supported. Please update .github/workflows/pr-labeler.yml
to bind to a major version.
You can do so by changing:
- uses: TimonVS/pr-labeler-action@master
To:
- uses: TimonVS/pr-labeler-action@v3
v2.1.0
v2.0.0
v1.0.1
v1.0.0
This is a GitHub Action that automatically applies labels to your PRs based on branch name patterns like feature/*
or fix/*
.
Usage
Add .github/main.workflow
with the following:
workflow "Add label to PR" {
on = "pull_request"
resolves = "PR Labeler"
}
action "PR opened filter" {
uses = "actions/bin/filter@master"
args = "action opened"
}
action "PR Labeler" {
needs = "PR opened filter"
uses = "TimonVS/pr-labeler@master"
secrets = ["GITHUB_TOKEN"]
}
Configuration
Configure by creating a .github/pr-labeler.yml
file.
For example:
feature: ['feature/*', 'feat/*']
fix: fix/*
chore: chore/*
Then if a pull request is opened with the branch name feature/218-add-emoji-support
the Action will automatically apply the feature
label.