Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: duplicate labels set #36

Merged
merged 14 commits into from
Jan 12, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v1.10

`2021.01.12`

- fix: duplicate labels set. [#36](https://github.com/actions-cool/issues-helper/pull/36)

## v1.9

`2021.01.11`
Expand Down
53 changes: 26 additions & 27 deletions README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Add assigness
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'add-assignees'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
if: contains(github.event.issue.body, 'xxx') == false
steps:
- name: Add labels
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'add-labels'
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -201,7 +201,7 @@ Close the specified issue.

```yml
- name: Close issue
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'close-issue'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
if: github.event.label.name == 'xxx'
steps:
- name: Create comment
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'create-comment'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Create issue
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'create-issue'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -311,7 +311,7 @@ According to [`comment-id`](#comment-id) delete the specified comment.

```yml
- name: Delete comment
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'delete-comment'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
if: github.event.label.name == 'invalid'
steps:
- name: Lock issue
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'lock-issue'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -374,7 +374,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: mark-duplicate
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'mark-duplicate'
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -387,7 +387,6 @@ jobs:
| 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 | ✖ |
| contents | Add [reaction](#reactions-types) for this comment | string | ✖ |
| close-issue | Whether to close the issue at the same time | string | ✖ |

Expand All @@ -402,7 +401,7 @@ Open the specified issue.

```yml
- name: Open issue
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'open-issue'
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -423,7 +422,7 @@ Remove the person designated by issue.

```yml
- name: Remove assignees
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'remove-assignees'
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -446,7 +445,7 @@ Remove the specified labels.

```yml
- name: Remove labels
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'remove-labels'
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -471,7 +470,7 @@ Replace the labels of issue.

```yml
- name: Set labels
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'set-labels'
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -494,7 +493,7 @@ Unlock the specified issue.

```yml
- name: Unlock issue
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'unlock-issue'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -527,7 +526,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Update comment
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'update-comment'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -555,7 +554,7 @@ Update the specified issue according to the `issue-number`.

```yml
- name: Update issue
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'update-issue'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -605,7 +604,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: welcome
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'welcome'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -648,7 +647,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: check-inactive
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'check-inactive'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -701,7 +700,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: check-issue
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'check-issue'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -740,7 +739,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: close-issues
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'close-issues'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -774,7 +773,7 @@ Find the current warehouse issue No. 1, the creator is k and the content contain

```yml
- name: Find comments
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'find-comments'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -822,7 +821,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: lock-issues
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'lock-issues'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -868,7 +867,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: month-statistics
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'month-statistics'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -911,7 +910,7 @@ jobs:
if: github.event.label.name == 'watch'
steps:
- name: find comments
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
id: fcid
with:
actions: 'find-comments'
Expand All @@ -922,7 +921,7 @@ jobs:

- name: create comment
if: ${{ steps.fcid.outputs.comments.length == 0 }}
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'create-comment'
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -931,7 +930,7 @@ jobs:

- name: update comment
if: ${{ steps.fcid.outputs.comments.length == 1 }}
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
with:
actions: 'update-comment'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -963,7 +962,7 @@ When the token is not filled in actions or the corresponding secrets are not add

```yml
- name: Create issue
uses: actions-cool/issues-helper@v1.9
uses: actions-cool/issues-helper@v1.10
id: createissue
with:
actions: 'create-issue'
Expand Down
Loading