Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit d22c8d4

Browse files
Merge pull request #69 from saneyuki/cleanup
Remove LABEL for legacy GitHub Actions
2 parents eeb33e0 + e640d56 commit d22c8d4

File tree

2 files changed

+1
-33
lines changed

2 files changed

+1
-33
lines changed

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
FROM node:12.10.0-alpine
22

3-
LABEL "com.github.actions.name"="auto_assign"
4-
LABEL "com.github.actions.description"="Auto assign by your comment like highfive or popuko"
5-
63
ADD src/ /app/src/
74
ADD package.json /app/package.json
85
ADD yarn.lock /app/yarn.lock

README.md

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -61,40 +61,11 @@ jobs:
6161
# We recommend to use an arbitary latest version
6262
# if you don't have any troubles.
6363
# You can also specify `master`, but it sometimes might be broken.
64-
uses: cats-oss/github-action-auto-assign@v1.0.0
64+
uses: cats-oss/github-action-auto-assign@v2
6565
env:
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767
```
6868
69-
### Legacy HCL syntax
70-
71-
```
72-
workflow "assign_review_by_comment by issue_comment" {
73-
# By the design of GitHub Actions, this action requires that the workflow is includeded in your _default branch_.
74-
# See https://developer.github.com/actions/creating-workflows/workflow-configuration-options/#workflow-attributes
75-
on = "issue_comment"
76-
resolves = ["assign_review_by_comment"]
77-
}
78-
79-
workflow "assign_review_by_comment by PR review comment" {
80-
# By the design of GitHub Actions, this action requires that the workflow is includeded in your pull request
81-
# which you want to use this action.
82-
# See https://developer.github.com/actions/creating-workflows/workflow-configuration-options/#workflow-attributes
83-
on = "pull_request_review"
84-
resolves = ["assign_review_by_comment"]
85-
}
86-
87-
action "assign_review_by_comment" {
88-
# see https://developer.github.com/actions/creating-workflows/workflow-configuration-options/#action-blocks
89-
# `master` branch might be broken sometimes.
90-
# `stable` branch is more stable, but the evolving is slow.
91-
uses = "cats-oss/[email protected]"
92-
# This field is required.
93-
secrets = ["GITHUB_TOKEN"]
94-
}
95-
```
96-
97-
9869
## Limitations
9970
10071
* By the Limitation of the current GitHub Actions, this might not works your repository well.

0 commit comments

Comments
 (0)