-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## 0.0.3 | ||
- GitHub Actions support (docker). | ||
- Simplified permissions. | ||
- A lot of dependencies update. | ||
|
||
## 0.0.2 | ||
Initial version. |
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 |
---|---|---|
|
@@ -15,11 +15,29 @@ feature: implemented | |
``` | ||
If a pull request gets merged and it has "fixes #42" in its body, if issue #42 has the label `feature`, the label `implemented` will be applied to it. | ||
|
||
### It will work for | ||
## Using the bot as a GitHub app | ||
Install the app through the GitHub [Marketplace](https://github.com/marketplace/close-label). | ||
|
||
## Using the bot as a GitHub Action | ||
```yml | ||
name: Close-label | ||
on: | ||
- pull-request | ||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: logerfo/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
``` | ||
|
||
## It will work for | ||
- Every [documented](https://help.github.com/en/articles/closing-issues-using-keywords) keyword. | ||
- Multiple index labels: if the issue has both `bug` and `feature` label, it will get labeled as both `fixed` and `implemented`. | ||
|
||
### It will not work for | ||
## It will not work for | ||
- Retroactively, as design. | ||
- Multiple target labels. Example: `bug: ["fixed", "done"]`. This should be easy to do and it's up for grabs, feel free to submit a pull request making this happen. | ||
- Cross-repo references. I think it might be possible to develop if both repos have the app installed, but I'm not sure. | ||
|
@@ -37,6 +55,9 @@ npm run build | |
npm start | ||
``` | ||
|
||
## Changelog | ||
Click [here](CHANGELOG.md). | ||
|
||
## Contributing | ||
|
||
If you have suggestions for how close-label could be improved, or want to report a bug, open an issue! We'd love all and any contributions. | ||
|
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,6 +1,6 @@ | ||
{ | ||
"name": "close-label", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A Probot app that applies a specific label to an issue closed through a pull request considering its current labels.", | ||
"author": "Bruno Logerfo <[email protected]> (https://github.com/Logerfo)", | ||
"license": "ISC", | ||
|