You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Issue Auto Labeling and Assigning
v1.0.0
Github action for automatically adding label or setting assignee when a new Issue is opened.
Automatically assign @username
when Issue title or body contains "test"
name: "Set Assignee"
on:
issues:
types: [opened]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: Naturalclar/[email protected]
with:
keywords: '["test"]'
action: '["username"]'
github-token: "${{ secrets.GITHUB_TOKEN }}"
Automatically set help wanted
label when Issue title or body contains help
or wanted
name: "Set Issue Label"
on:
issues:
types: [opened]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: Naturalclar/[email protected]
with:
keywords: '["help", "wanted"]'
labels: '["help wanted"]'
github-token: "${{ secrets.GITHUB_TOKEN }}"
When uploading github actions, node_modules
and lib
directories need to be commited.
Follow the steps below:
# 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
$ git add node_modules lib
$ git commit -a -m "release"
$ git push origin release/vX.X.X