generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 20
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
1 parent
bbf9f64
commit ce21bfe
Showing
4 changed files
with
26,230 additions
and
14 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 |
---|---|---|
|
@@ -16,6 +16,7 @@ Automatically set `BUG` label and assign `@username` when Issue contains `bug` o | |
Automatically set `help-wanted` label and assign `@username` when Issue contains `help` or `guidance`. | ||
|
||
### Example | ||
|
||
```yaml | ||
name: "Set Issue Label and Assignee" | ||
on: | ||
|
@@ -30,31 +31,22 @@ jobs: | |
steps: | ||
- uses: Naturalclar/[email protected] | ||
with: | ||
title-or-body: 'both' | ||
title-or-body: "both" | ||
parameters: '[ {"keywords": ["bug", "error"], "labels": ["BUG"], "assignees": ["username"]}, {"keywords": ["help", "guidance"], "labels": ["help-wanted"], "assignees": ["username"]}]' | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
``` | ||
# Upgrading this package | ||
When uploading github actions, `node_modules` and `lib` directories need to be commited. | ||
|
||
Follow the steps below: | ||
```sh | ||
# create a new release branch | ||
$ git checkout -b release/vX.X.X | ||
``` | ||
|
||
Commentout the following lines in `.gitignore` | ||
|
||
``` | ||
# comment this out distribution branches | ||
node_modules/ | ||
lib | ||
``` | ||
``` | ||
$ yarn package | ||
$ git add node_modules lib | ||
$ git commit -a -m "release" | ||
$ git push origin release/vX.X.X | ||
|
Oops, something went wrong.