-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: RemoveLabels when has no label (#88)
* fix: RemoveLabels when has no label * doc
- Loading branch information
Showing
13 changed files
with
137 additions
and
109 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
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 |
---|---|---|
|
@@ -221,7 +221,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Add assigness | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'add-assignees' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -263,7 +263,7 @@ jobs: | |
if: contains(github.event.issue.body, 'xxx') == false | ||
steps: | ||
- name: Add labels | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'add-labels' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -288,7 +288,7 @@ Close the specified issue. | |
|
||
```yml | ||
- name: Close issue | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'close-issue' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -320,7 +320,7 @@ jobs: | |
if: github.event.label.name == 'xxx' | ||
steps: | ||
- name: Create comment | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'create-comment' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -364,7 +364,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create issue | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'create-issue' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -397,7 +397,7 @@ Create label. If you want to maintain labels in batches, [see](https://github.co | |
|
||
```yml | ||
- name: Create label | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'create-label' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -425,7 +425,7 @@ According to [`comment-id`](#comment-id) delete the specified comment. | |
|
||
```yml | ||
- name: Delete comment | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'delete-comment' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -460,7 +460,7 @@ jobs: | |
if: github.event.label.name == 'invalid' | ||
steps: | ||
- name: Lock issue | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'lock-issue' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -494,7 +494,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: mark-duplicate | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'mark-duplicate' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -529,7 +529,7 @@ Open the specified issue. | |
|
||
```yml | ||
- name: Open issue | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'open-issue' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -550,7 +550,7 @@ Remove the person designated by issue. | |
|
||
```yml | ||
- name: Remove assignees | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'remove-assignees' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -573,7 +573,7 @@ Remove the specified labels. | |
|
||
```yml | ||
- name: Remove labels | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'remove-labels' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -598,7 +598,7 @@ Replace the labels of issue. | |
|
||
```yml | ||
- name: Set labels | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'set-labels' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -621,7 +621,7 @@ Unlock the specified issue. | |
|
||
```yml | ||
- name: Unlock issue | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'unlock-issue' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -654,7 +654,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Update comment | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'update-comment' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -684,7 +684,7 @@ Update the specified issue according to the `issue-number`. | |
|
||
```yml | ||
- name: Update issue | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'update-issue' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -734,7 +734,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: welcome | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'welcome' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -777,7 +777,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: check-inactive | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'check-inactive' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -831,7 +831,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: check-issue | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'check-issue' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -871,7 +871,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: close-issues | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'close-issues' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -906,7 +906,7 @@ Find the current warehouse issue No. 1, the creator is k and the content contain | |
|
||
```yml | ||
- name: Find comments | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'find-comments' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -954,7 +954,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: lock-issues | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'lock-issues' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -1002,7 +1002,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: month-statistics | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'month-statistics' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -1047,7 +1047,7 @@ jobs: | |
if: github.event.label.name == 'watch' | ||
steps: | ||
- name: find comments | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
id: fcid | ||
with: | ||
actions: 'find-comments' | ||
|
@@ -1062,7 +1062,7 @@ jobs: | |
- name: create comment | ||
if: contains(steps.fcid.outputs.comments, '<!-- Created by actions-cool/issues-helper -->') == false | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'create-comment' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -1073,7 +1073,7 @@ jobs: | |
- name: update comment | ||
if: contains(steps.fcid.outputs.comments, '<!-- Created by actions-cool/issues-helper -->') == true | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
with: | ||
actions: 'update-comment' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -1114,7 +1114,7 @@ When the token is not filled in actions or input `${{ secrets.GITHUB_TOKEN }}`, | |
|
||
```yml | ||
- name: Create issue | ||
uses: actions-cool/[email protected].1 | ||
uses: actions-cool/[email protected].2 | ||
id: createissue | ||
with: | ||
actions: 'create-issue' | ||
|
Oops, something went wrong.