Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Logerfo committed Sep 18, 2019
1 parent 3e01bae commit f9aa8dd
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
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.
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
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",
Expand Down

0 comments on commit f9aa8dd

Please sign in to comment.