Skip to content

Commit

Permalink
fix: RemoveLabels when has no label (#88)
Browse files Browse the repository at this point in the history
* fix: RemoveLabels when has no label

* doc
  • Loading branch information
xrkffgg authored Sep 6, 2021
1 parent 8482b73 commit ec5a128
Show file tree
Hide file tree
Showing 13 changed files with 137 additions and 109 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@
⚡️ Code style
-->

## v2.4.2

`2021.09.06`

- 🐞 fix: `doRemoveLabels` when has no label. [#88](https://github.com/actions-cool/issues-helper/pull/88)

## v2.4.1

`2021.09.05`

- fix: remove labels define error. [#86](https://github.com/actions-cool/issues-helper/pull/86)
- 🐞 fix: remove labels define error. [#86](https://github.com/actions-cool/issues-helper/pull/86)

## v2.4.0

Expand Down
54 changes: 27 additions & 27 deletions README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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'
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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'
Expand Down
Loading

0 comments on commit ec5a128

Please sign in to comment.