- Notifications
You must be signed in to change notification settings - Fork51
🤖 A GitHub Action easily helps you automatically manage issues. Welcome to try.
License
actions-cool/issues-helper
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
English |简体中文
- Complete free
- Fully automatic
- Hosted on the GitHub server, as long as GitHub is not down, it is not affected
Private projects have a limit of 2000 times per month.Specific view. Public are unlimited.
Please leave a message athere.
If you thinkactions-cool can help you, please copy it to the README to support promotion and bring convenience to more repositories:.More color see.
[](https://github.com/actions-cool)You are very welcome to try it out and put forward your comments. You can use the following methods:
- Report bugs or consult withIssue
- Discuss viaDiscussions
- SubmitPull Request to improve the code of
issues-helper
When the following list does not have the features you want, you can submit it inissues.
- ⭐ Base
- 🌟 Advanced
In order to better display the function, the following is an example of the actual scene, please refer to it flexibly.
When an issue is added or modified, assign this issue to one or more people.
name:Add Assignesson:issues:types:[opened, edited]jobs:add-assigness:runs-on:ubuntu-lateststeps: -name:Add assignessuses:actions-cool/issues-helper@v3with:actions:'add-assignees'token:${{ secrets.GITHUB_TOKEN }}issue-number:${{ github.event.issue.number }}assignees:'xxx'or 'xx1,xx2'random-to:1
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| assignees | Designated person. No operation when no input or empty character | string | ✖ |
| random-to | When set, it will be randomly selected in assignees | number | ✖ |
actionssupport multiple and separated by comma. Like:add-assignees,add-labels- The
namecan be modified according to the actual situation - Reference to on
${{ github.event.issue.number }}is the current issue.More referencesassigneessupport multiple and separated by comma- You can assign up to 10 people to each issue
When the content of a new issue does not contain the specified format, add labels for the issue.
name:Add Labelson:issues:types:[opened]jobs:add-labels:runs-on:ubuntu-latestif:contains(github.event.issue.body, 'xxx') == falsesteps: -name:Add labelsuses:actions-cool/issues-helper@v3with:actions:'add-labels'token:${{ secrets.GITHUB_TOKEN }}issue-number:${{ github.event.issue.number }}labels:'bug'or 'xx1,xx2'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| labels | New labels. When it is not filled in or is empty character, do not add | string | ✖ |
labelssupport multiple and separated by comma
Close the specified issue.
-name:Close issueuses:actions-cool/issues-helper@v3with:actions:'close-issue'token:${{ secrets.GITHUB_TOKEN }}issue-number:xxx
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| close-reason | Reason for closing. Defaultnot_planned, anothercompleted | string | ✖ |
When a designated label is added, comment on the issue.
name:Create Commenton:issues:types:[labeled]jobs:create-comment:runs-on:ubuntu-latestif:github.event.label.name == 'xxx'steps: -name:Create commentuses:actions-cool/issues-helper@v3with:actions:'create-comment'token:${{ secrets.GITHUB_TOKEN }}issue-number:${{ github.event.issue.number }}body:| Hello @${{ github.event.issue.user.login }}. Add some comments. 你好 @${{ github.event.issue.user.login }}。巴拉巴拉。emoji:'+1'or '+1,heart'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| body | Add comment content | string | ✔ |
| emoji | Addemoji | string | ✖ |
- No action when
bodyis empty - Return
comment-id, which can be used for subsequent operations.Usage reference ${{ github.event.issue.user.login }}indicates the creator of the issueemojisupport multiple and separated by comma
Here is an example, add an issue at UTC 00:00 on the 1st of every month.
name:Create Issueon:schedule: -cron:"0 0 1 * *"jobs:create-issue:runs-on:ubuntu-lateststeps: -name:Create issueuses:actions-cool/issues-helper@v3with:actions:'create-issue'token:${{ secrets.GITHUB_TOKEN }}title:'xxxx'body:'xxxx'labels:'xx'assignees:'xxx'emoji:'+1'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| title | The title of the new issue | string | ✔ |
| body | The body of the new issue | string | ✖ |
| labels | The labels for the new issue | string | ✖ |
| assignees | The assignees for the new issue | string | ✖ |
| random-to | When set, it will be randomly selected in assignees | number | ✖ |
| emoji | Addemoji | string | ✖ |
- No action when
titleis empty - Return
issue-number.Usage reference
Create label. If you want to maintain labels in batches,see.
-name:Create labeluses:actions-cool/issues-helper@v3with:actions:'create-label'token:${{ secrets.GITHUB_TOKEN }}label-name:'xx'label-color:'0095b3'label-desc:'xx'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| label-name | Label name, emoji support | string | ✔ |
| label-color | Label color, the format is hexadecimal color code, without# | string | ✖ |
| label-desc | Label description | string | ✖ |
label-name: If it already exists, no operationlabel-color: Default isededed
According tocomment-id delete the specified comment.
-name:Delete commentuses:actions-cool/issues-helper@v3with:actions:'delete-comment'token:${{ secrets.GITHUB_TOKEN }}comment-id:xxx
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| comment-id | The comment ID | number | ✔ |
Query issue information.
-name:Get Issueuses:actions-cool/issues-helper@v3with:actions:'get-issue'token:${{ secrets.GITHUB_TOKEN }}
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
- Return
issue-numberissue-titleissue-bodyissue-labelsissue-assigneesissue-state.Usage reference
When theinvalid label is added, the issue is locked.
name:Lock Issueon:issues:types:[labeled]jobs:lock-issue:runs-on:ubuntu-latestif:github.event.label.name == 'invalid'steps: -name:Lock issueuses:actions-cool/issues-helper@v3with:actions:'lock-issue'token:${{ secrets.GITHUB_TOKEN }}issue-number:${{ github.event.issue.number }}
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| lock-reason | Reason for locking issue | string | ✖ |
lock-reason: Optional values areoff-topictoo heatedresolvedspam
Open the specified issue.
-name:Open issueuses:actions-cool/issues-helper@v3with:actions:'open-issue'token:${{ secrets.GITHUB_TOKEN }}issue-number:xxx
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
Remove the person designated by issue.
-name:Remove assigneesuses:actions-cool/issues-helper@v3with:actions:'remove-assignees'token:${{ secrets.GITHUB_TOKEN }}issue-number:${{ github.event.issue.number }}assignees:'xx'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| assignees | Designated person removed. When it is an empty character, do not remove | string | ✔ |
Remove the specified labels.
-name:Remove labelsuses:actions-cool/issues-helper@v3with:actions:'remove-labels'token:${{ secrets.GITHUB_TOKEN }}issue-number:${{ github.event.issue.number }}labels:'xx'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| labels | The removed labels. When it is a blank character, do not remove | string | ✔ |
labelssupports multiple, such asx1,x2,x3, only the labels added by the issue will be removed
Replace the labels of issue.
-name:Set labelsuses:actions-cool/issues-helper@v3with:actions:'set-labels'token:${{ secrets.GITHUB_TOKEN }}issue-number:${{ github.event.issue.number }}labels:'xx'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| labels | labels set. When empty characters, will remove all | string | ✔ |
Unlock the specified issue.
-name:Unlock issueuses:actions-cool/issues-helper@v3with:actions:'unlock-issue'token:${{ secrets.GITHUB_TOKEN }}issue-number:${{ github.event.issue.number }}
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
Update the specified comment according tocomment-id.
The following example shows that 👀 is added for each new comment.
name:Add eyes to each commenton:issue_comment:types:[created]jobs:update-comment:runs-on:ubuntu-lateststeps: -name:Update commentuses:actions-cool/issues-helper@v3with:actions:'update-comment'token:${{ secrets.GITHUB_TOKEN }}comment-id:${{ github.event.comment.id }}emoji:'eyes'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| comment-id | The comment ID | number | ✔ |
| out-comments | The output offind-comments, if you find multiple, operate multiple | string | ✖ |
| body | Update the content of comment | string | ✖ |
| update-mode | Update mode. Defaultreplace, anotherappend | string | ✖ |
| emoji | Addreaction | string | ✖ |
- When
bodyis not entered, it will remain as it is - When
update-modeisappend, additional operations will be performed. Anything other thanappendwill be replaced. Only effective forbody
Update the specified issue according to theissue-number.
-name:Update issueuses:actions-cool/issues-helper@v3with:actions:'update-issue'token:${{ secrets.GITHUB_TOKEN }}issue-number:${{ github.event.issue.number }}state:'open'title:'xxx'body:'xxxx'update-mode:'replace'labels:'xx'assignees:'xxx'emoji:'+1'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| state | Modify the status of issue, optional valueopenclosed | string | ✖ |
| title | Modify the title of the issue | string | ✖ |
| body | Modify the content of issue | string | ✖ |
| update-mode | Update mode. Defaultreplace, anotherappend | string | ✖ |
| labels | Replace the labels of issue | string | ✖ |
| assignees | Replace the assignees of issue | string | ✖ |
| emoji | Addreaction | string | ✖ |
statedefaults toopen- When the option is not filled, it will keep the original
Advanced usage is not recommended to use multiple actions at the same time.
At UTC 0 on the 1st of each month, add theinactive tag to all issues that have not been active for more than 30 days.
name:Check inactiveon:schedule: -cron:"0 0 1 * *"jobs:check-inactive:runs-on:ubuntu-lateststeps: -name:check-inactiveuses:actions-cool/issues-helper@v3with:actions:'check-inactive'token:${{ secrets.GITHUB_TOKEN }}inactive-day:30
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| body | When operating an issue, you can comment. Do not comment when not typing | string | ✖ |
| emoji | Addreaction for this comment | string | ✖ |
| labels | Labels filtering | string | ✖ |
| issue-state | State filtering | string | ✖ |
| issue-assignee | Assignee filtering | string | ✖ |
| issue-creator | Creator filtering | string | ✖ |
| issue-mentioned | Mentioned filtering | string | ✖ |
| body-includes | Body filtering | string | ✖ |
| title-includes | Title filtering | string | ✖ |
| inactive-day | Inactive days filtering | number | ✖ |
| inactive-mode | Detect inactive mode, defaultissue | string | ✖ |
| inactive-label | The label name adding | string | ✖ |
| exclude-labels | Exclude labels filtering | string | ✖ |
| exclude-issue-numbers | Exclude the specified issues | string | ✖ |
labels: When there are multiple, the query will have multiple at the same time. If not entered, allissue-state: The default isall. Optional valueopenclosed, when these 2 items are not, both areallissue-assignee: Multiplayer is not supported. If you do not enter or enter *, all will be searched. Enteringnonewill query issues for which the specified person is not addedinactive-day: When entering, it will filter the issue update time earlier than the current time minus the number of inactive days. If not entered, allinactive-label: The default isinactive, others can be customized. When the project does not contain the label, it will be created automaticallyexclude-labels: When set to include$exclude-empty, no label issue can be excludedinactive-mode:- Default
issue: the issue updated time - Optional
comment: the last comment update time - Optional
issue-created: the issue created time - Optional
comment-created: the comment creation time - You can also set multiple such as:
comment, issue-created- It will be detected with priority, the update time of the last comment will be detected first, if there is no comment, the creation time of the issue will be used
- Default
Check whether the issue meets the conditions according to the passed parameters andissue-number, and return a boolean value.
The effect of the following example is: when an issue is newly opened, verify whether the current issue designator containsx1 orx2.
If one designated person is satisfied, the verification will pass, and at the same time, verify whether the title meets the conditions.Check rules
name:Check Issueon:issues:types:[edited]jobs:check-issue:runs-on:ubuntu-lateststeps: -name:check-issueuses:actions-cool/issues-helper@v3with:actions:'check-issue'token:${{ secrets.GITHUB_TOKEN }}issue-number:${{ github.event.issue.number }}assignee-includes:'x1,x2'title-includes:'x1,x2/y1,y2'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| assignee-includes | Assignees contains check | string | ✖ |
| title-includes | Title contains check | string | ✖ |
| title-excludes | Check whether the title is empty after removing the default title | string | ✖ |
| body-includes | Body contains check | string | ✖ |
title-includesbody-includessupports the formatx1,x2orx1,x2/y1,y2. Only supports two levels- Return
check-result, due to yml reasons, the judgment condition isif: steps.xxid.outputs.check-result =='true'
Every 7 days at UTC 0, close the issues that have been filled with theneed info label and have not been active for more than 7 days.
name:Check need infoon:schedule: -cron:"0 0 */7 * *"jobs:check-need-info:runs-on:ubuntu-lateststeps: -name:close-issuesuses:actions-cool/issues-helper@v3with:actions:'close-issues'token:${{ secrets.GITHUB_TOKEN }}labels:'need info'inactive-day:7
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| body | When operating an issue, you can comment. Do not comment when not typing | string | ✖ |
| emoji | Addreaction for this comment | string | ✖ |
| labels | Labels filtering | string | ✖ |
| issue-assignee | Assignee filtering | string | ✖ |
| issue-creator | Creator filtering | string | ✖ |
| issue-mentioned | Mentioned filtering | string | ✖ |
| body-includes | Body filtering | string | ✖ |
| title-includes | Title filtering | string | ✖ |
| inactive-day | Inactive days filtering | number | ✖ |
| exclude-labels | Exclude labels filtering | string | ✖ |
| close-reason | Reason for closing. Defaultnot_planned, anothercompleted | string | ✖ |
labels: When there are multiple, the query will have multiple at the same time. If not entered, allissue-assignee: Multiplayer is not supported. If you do not enter or enter *, all will be searched. Enteringnonewill query issues for which the specified person is not addedinactive-day: When entering, it will filter the issue update time earlier than the current time minus the number of inactive days. If not entered, allexclude-labels: When set to include$exclude-empty, no label issue can be excluded
Find the current warehouse issue No. 1, the creator is k and the content contains the comment list ofthis.
-name:Find commentsuses:actions-cool/issues-helper@v3with:actions:'find-comments'token:${{ secrets.GITHUB_TOKEN }}issue-number:1comment-auth:'k'body-includes:'this,that'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| comment-auth | Comment creator, all will be queried if not filled | string | ✖ |
| body-includes | Comment content includes filtering, supports filtering of multiple strings, no verification if not filled | string | ✖ |
| direction | Returncomments sort | string | ✖ |
- Return
commentsin the following format:
[{id:1,auth:'x',body:'xxx',created:'',updated:''},{id:2,auth:'x',body:'xxx',created:'',updated:''},]
directiondefaults to ascending order, only whendescis set, descending order will be returned- The
createdupdatedin the returned array, determined by the environment, will be UTC +0
Find the current repository, the creator is k , the title containsthis , the body containsthat, and the list of issues in the open state.
-name:Find issuesuses:actions-cool/issues-helper@v3with:actions:'find-issues'token:${{ secrets.GITHUB_TOKEN }}issue-creator:'k'issue-state:'open'title-includes:'this'body-includes:'that'labels:'documentation'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-state | State filtering | string | ✖ |
| issue-creator | Creator filtering | string | ✖ |
| title-includes | Title filtering | string | ✖ |
| body-includes | Body filtering | string | ✖ |
| labels | Labels filtering | string | ✖ |
| exclude-labels | Exclude labels filtering | string | ✖ |
| inactive-day | Inactive days filtering | number | ✖ |
| direction | Return sort | string | ✖ |
| create-issue-if-not-exist | Create a new issue if not exist | boolean | ✖ |
- Returns
issuesin the following format:
[{number:1,auth:'x',body:'xxx',body:'xxx',state:'open',assignees:['x1','x2'],created:'',updated:''},{number:2,auth:'x',body:'xxx',body:'xxx',state:'closed',assignees:['x1','x2'],created:'',updated:''},]
issue-state: The default isopen. Other values are:closed,alldirectiondefaults to ascending order, only whendescis set, descending order will be returned- The
createdupdatedin the returned array, determined by the environment, will be UTC +0 exclude-labels: When set to include$exclude-empty, no label issue can be excluded
Every 3 months at UTC 0 on the 1st, lock all issues that have been filled with theinactive label and have not been active for more than 128 days.
name:Lock inactive issueson:schedule: -cron:"0 0 1 */3 *"jobs:lock-issues:runs-on:ubuntu-lateststeps: -name:lock-issuesuses:actions-cool/issues-helper@v3with:actions:'lock-issues'token:${{ secrets.GITHUB_TOKEN }}labels:'inactive'inactive-day:128
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| body | When operating an issue, you can comment. Do not comment when not typing | string | ✖ |
| emoji | Addreaction for this comment | string | ✖ |
| labels | Labels filtering | string | ✖ |
| issue-state | State filtering | string | ✖ |
| issue-assignee | Assignee filtering | string | ✖ |
| issue-creator | Creator filtering | string | ✖ |
| issue-mentioned | Mentioned filtering | string | ✖ |
| body-includes | Body filtering | string | ✖ |
| title-includes | Title filtering | string | ✖ |
| inactive-day | Inactive days filtering | number | ✖ |
| lock-reason | Reason for locking issue | string | ✖ |
| exclude-labels | Exclude labels filtering | string | ✖ |
labels: When there are multiple, the query will have multiple at the same time. If not entered, allissue-state: The default isall. Optional valueopenclosed, when these 2 items are not, both areallissue-assignee: Multiplayer is not supported. If you do not enter or enter *, all will be searched. Enteringnonewill query issues for which the specified person is not addedinactive-day: When entering, it will filter the issue update time earlier than the current time minus the number of inactive days. If not entered, allexclude-labels: When set to include$exclude-empty, no label issue can be excluded
Quickly assign person, only for the issue to add editor comments.
name:Issue Mark Assigneeson:issue_comment:types:[created, edited]jobs:mark-assignees:runs-on:ubuntu-lateststeps: -name:mark-assigneesuses:actions-cool/issues-helper@v3with:actions:'mark-assignees'token:${{ secrets.GITHUB_TOKEN }}
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| assign-command | Simple commands can be set, such as:/a | string | ✖ |
| require-permission | Permission required, default iswrite | string | ✖ |
assign-command: default/assignrequire-permission: Optional values areadmin,write,read,none- If the team member sets the
readpermission, it isread - If the external Collaborator is set to
readpermission, it isread - Ordinary users have
readpermission - When set
write,adminandwritemeet the conditions
- If the team member sets the
Quickly mark duplicate questions, only for issue new comments or edit comments.
name:Issue Mark Duplicateon:issue_comment:types:[created, edited]jobs:mark-duplicate:runs-on:ubuntu-lateststeps: -name:mark-duplicateuses:actions-cool/issues-helper@v3with:actions:'mark-duplicate'token:${{ secrets.GITHUB_TOKEN }}
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| duplicate-command | Simple commands can be set, such as:/d | string | ✖ |
| duplicate-labels | Add additional labels to this issue | string | ✖ |
| remove-labels | Set removable labels | string | ✖ |
| labels | Replace the labels of the issue | string | ✖ |
| emoji | Addreaction for this comment | string | ✖ |
| close-issue | Whether to close the issue at the same time | string | ✖ |
| require-permission | Permission required, default iswrite | string | ✖ |
| close-reason | Reason for closing. Defaultnot_planned, anothercompleted | string | ✖ |
duplicate-command: When setting concise commands, while still supporting the originalDuplicate of. Block content contains?labels: Highest priorityclose-issue: Bothtrueor'true'can take effectrequire-permission: Optional values areadmin,write,read,none- If the team member sets the
readpermission, it isread - If the external Collaborator is set to
readpermission, it isread - Ordinary users have
readpermission - When set
write,adminandwritemeet the conditions
- If the team member sets the
When an issue is reopened, the set labels are removed if they already exist, otherwise they are added.
name:Toggle Labelson:issues:types:[reopened]jobs:toggle-labels:runs-on:ubuntu-lateststeps: -name:Toggle labelsuses:actions-cool/issues-helper@v3with:actions:'toggle-labels'token:${{ secrets.GITHUB_TOKEN }}issue-number:${{ github.event.issue.number }}labels:'unread,outdated'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
| labels | The toggle labels. Delete if the label already exists, add if it does not exist | string | ✖ |
When an issue is created, the user who created the issue for the first time is welcome.
If the user is not creating for the first time, there is no operation.
name:Issue Welcomeon:issues:types:[opened]jobs:issue-welcome:runs-on:ubuntu-lateststeps: -name:welcomeuses:actions-cool/issues-helper@v3with:actions:'welcome'token:${{ secrets.GITHUB_TOKEN }}body:hi @${{ github.event.issue.user.login }}, welcome!labels:'welcome1, welcome2'assignees:'xx1'issue-emoji:'+1, -1, eyes'
| Param | Desc | Type | Required |
|---|---|---|---|
| actions | Action type | string | ✔ |
| token | Token explain | string | ✖ |
| body | Comment on the welcome content, no comment if you leave it blank | string | ✖ |
| labels | Add labels to this issue | string | ✖ |
| assignees | Add assignees to this issue | string | ✖ |
| issue-emoji | Addreaction to this issue | string | ✖ |
- If these 4 options are not filled, no operation
Need to have the person token with push permission.
- Personal token application
- Need to check
Full control of private repositories
- Need to check
- Project add secrets
- Select settings, select secrets, select
New repository secret Nameis the same as in actionsValuefill in the token just applied by the individual
- Select settings, select secrets, select
When the token is not filled in actions or input${{ secrets.GITHUB_TOKEN }}, it will default togithub-actions-bot.More.
-name:Create issueuses:actions-cool/issues-helper@v3id:createissuewith:actions:'create-issue'token:${{ secrets.GITHUB_TOKEN }}-name:Check outputsrun:echo "Outputs issue_number is ${{ steps.createissue.outputs.issue-number }}"
More:
- https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/metadata-syntax-for-github-actions#outputs
- https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idoutputs
"title-includes":'x1,x2'x1x2"x1y3y2"true"y2 x1"true"x2"true"x3"false
"title-includes":'x1,x2/y1,y2'x1+y1x2+y1x1+y2x2+y2"x1y3y2"true"y2 x1"true"1x2y"false"x1"false
| content | emoji |
|---|---|
+1 | 👍 |
-1 | 👎 |
laugh | 😄 |
confused | 😕 |
heart | ❤️ |
hooray | 🎉 |
rocket | 🚀 |
eyes | 👀 |
Click the··· icon in the upper right corner of a comment, selectCopy link, and the number at the end of the url iscomment_id.
- You can directly use thisGitHub Actions workflow template repositorie template
- Personal exercises and testsActions repository
- Can also refer to the warehouse ofonline users
About
🤖 A GitHub Action easily helps you automatically manage issues. Welcome to try.
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.








