-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from adamzolyak/patching
Patching and Action YAML Updates
- Loading branch information
Showing
6 changed files
with
1,098 additions
and
1,093 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
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 |
---|---|---|
|
@@ -20,19 +20,22 @@ To use this GitHub Action, you must have access to [GitHub Actions](https://gith | |
|
||
To setup this action: | ||
|
||
1. Create a `.github/main.workflow` in your GitHub repo. | ||
2. Add the following code to the `main.workflow` file and commit it to the repo's `master` branch. | ||
|
||
``` | ||
workflow "Bulk Issue Labeler" { | ||
resolves = ["Bulk Label"] | ||
on = "issues" | ||
} | ||
action "Bulk Label" { | ||
uses = "adamzolyak/issue-labeler-action@master" | ||
secrets = ["GITHUB_TOKEN"] | ||
} | ||
1. Create a `.github/worksflows/main.yml` in your GitHub repo ([more info](https://help.github.com/en/articles/configuring-a-workflow)). | ||
2. Add the following code to the `main.yml` file and commit it to the repo's `master` branch. | ||
|
||
```yaml | ||
name: Bulk Issue Labeler | ||
|
||
on: issues | ||
|
||
jobs: | ||
labelIssue: | ||
name: Bulk Issue Labeler | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: adamzolyak/issue-labeler-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
``` | ||
3. Whenever you create an issue, the action will run! | ||
|
@@ -43,4 +46,4 @@ If you have suggestions for how this GitHub Action could be improved, or want to | |
## License | ||
[ISC](LICENSE) © 2018 Adam Zolyak <[email protected]> (www.tinkurlab.com) | ||
[ISC](LICENSE) © 2019 Adam Zolyak <[email protected]> (www.tinkurlab.com) |
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
Oops, something went wrong.