← 返回首页
GitHub - Naturalclar/issue-action: github action for github issue · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Naturalclar/issue-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 master
Go to file
Code

Repository files navigation

More items

Issue Action

Github action for automatically adding label or setting assignee when a new Issue or PR is opened.

Usage

Title or Body

Choose whether you want to check for a keyword match in the issue title, the issue body, or both.

Parameters

Automatically set BUG label and assign @username when Issue contains bug or error. Automatically set help-wanted label and assign @username when Issue contains help or guidance.

Example

name: "Set Issue Label and Assignee" on: issues: types: [opened] pull_request: typed: [opened] jobs: test: runs-on: ubuntu-latest steps: - uses: Naturalclar/issue-action@v2.0.2 with: 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

Follow the steps below:

# create a new release branch $ git checkout -b release/vX.X.X
$ yarn build $ git commit -a -m "release" $ git push origin release/vX.X.X

About

github action for github issue

Topics

Resources

License

Stars

62 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors

Generated from actions/javascript-action

Footer

© 2026 GitHub, Inc.