@@ -255,8 +255,8 @@ When the following list does not have the features you want, you can submit it i
255255 - [ ` lock-issues ` ] ( #lock-issues )
256256 - [ ` mark-assignees ` ] ( #mark-assignees )
257257 - [ ` mark-duplicate ` ] ( #mark-duplicate )
258- - [ ` welcome ` ] ( #welcome )
259258 - [ ` toggle-labels ` ] ( #toggle-labels )
259+ - [ ` welcome ` ] ( #welcome )
260260
261261## 🚀 Usage
262262
@@ -1110,77 +1110,77 @@ jobs:
11101110
11111111⏫ [Back to list](#List)
11121112
1113- # ### `welcome`
1114-
1115- When an issue is created, the user who created the issue for the first time is welcome.
1113+ # ### `toggle-labels`
11161114
1117- If the user is not creating for the first time, there is no operation .
1115+ When an issue is reopened, the set labels are removed if they already exist, otherwise they are added .
11181116
11191117` ` ` yml
1120- name: Issue Welcome
1118+ name: Toggle Labels
11211119
11221120on:
11231121 issues:
1124- types: [opened ]
1122+ types: [reopened ]
11251123
11261124jobs:
1127- issue-welcome :
1125+ toggle-labels :
11281126 runs-on: ubuntu-latest
11291127 steps:
1130- - name: welcome
1128+ - name: Toggle labels
11311129 uses: actions-cool/issues-helper@v3
11321130 with:
1133- actions: 'welcome '
1131+ actions: 'toggle-labels '
11341132 token: ${{ secrets.GITHUB_TOKEN }}
1135- body: hi @${{ github.event.issue.user.login }}, welcome!
1136- labels: 'welcome1, welcome2'
1137- assignees: 'xx1'
1138- issue-emoji: '+1, -1, eyes'
1133+ issue-number: ${{ github.event.issue.number }}
1134+ labels: 'unread,outdated'
11391135` ` `
11401136
11411137| Param | Desc | Type | Required |
11421138| -- | -- | -- | -- |
11431139| actions | Action type | string | ✔ |
11441140| token | [Token explain](#token) | string | ✖ |
1145- | body | Comment on the welcome content, no comment if you leave it blank | string | ✖ |
1146- | labels | Add labels to this issue | string | ✖ |
1147- | assignees | Add assignees to this issue | string | ✖ |
1148- | issue-emoji | Add [reaction](#emoji-types) to this issue| string | ✖ |
1149-
1150- - If these 4 options are not filled, no operation
1141+ | issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
1142+ | labels | The toggle labels. Delete if the label already exists, add if it does not exist | string | ✖ |
11511143
11521144⏫ [Back to list](#List)
11531145
1154- # ### `toggle-labels `
1146+ # ### `welcome `
11551147
1156- When an issue is reopened, the set labels are removed if they already exist, otherwise they are added.
1148+ When an issue is created, the user who created the issue for the first time is welcome.
1149+
1150+ If the user is not creating for the first time, there is no operation.
11571151
11581152` ` ` yml
1159- name: Toggle Labels
1153+ name: Issue Welcome
11601154
11611155on:
11621156 issues:
1163- types: [reopened ]
1157+ types: [opened ]
11641158
11651159jobs:
1166- toggle-labels :
1160+ issue-welcome :
11671161 runs-on: ubuntu-latest
11681162 steps:
1169- - name: Toggle labels
1163+ - name: welcome
11701164 uses: actions-cool/issues-helper@v3
11711165 with:
1172- actions: 'toggle-labels '
1166+ actions: 'welcome '
11731167 token: ${{ secrets.GITHUB_TOKEN }}
1174- issue-number: ${{ github.event.issue.number }}
1175- labels: 'unread,outdated'
1168+ body: hi @${{ github.event.issue.user.login }}, welcome!
1169+ labels: 'welcome1, welcome2'
1170+ assignees: 'xx1'
1171+ issue-emoji: '+1, -1, eyes'
11761172` ` `
11771173
11781174| Param | Desc | Type | Required |
11791175| -- | -- | -- | -- |
11801176| actions | Action type | string | ✔ |
11811177| token | [Token explain](#token) | string | ✖ |
1182- | issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |
1183- | labels | The toggle labels. Delete if the label already exists, add if it does not exist | string | ✖ |
1178+ | body | Comment on the welcome content, no comment if you leave it blank | string | ✖ |
1179+ | labels | Add labels to this issue | string | ✖ |
1180+ | assignees | Add assignees to this issue | string | ✖ |
1181+ | issue-emoji | Add [reaction](#emoji-types) to this issue| string | ✖ |
1182+
1183+ - If these 4 options are not filled, no operation
11841184
11851185⏫ [Back to list](#List)
11861186
0 commit comments