@@ -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