Skip to content

Commit f271b2a

Browse files
committed
Do not allow concurrent run
1 parent 24f1981 commit f271b2a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/pull-request-comment.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ env:
1111
COMMENT_LINE: ${{ github.event.comment.line }}
1212
COMMENT_START_LINE: ${{ github.event.comment.start_line }}
1313

14+
concurrency:
15+
group: ${{ github.workflow }} - ${{ github.event.pull_request.head.ref }}
16+
1417
jobs:
1518
update_pr_job:
1619
runs-on: ubuntu-latest
@@ -20,7 +23,7 @@ jobs:
2023
with:
2124
ref: ${{ env.HEAD_BRANDH }}
2225
- name: Code Review Action
23-
uses: codemakerai/codemaker-pull-request-action@dev
26+
uses: codemakerai/codemaker-pull-request-action@v1.0.0
2427
with:
2528
access-token: ${{ secrets.GITHUB_TOKEN }}
2629
api-key: ${{ secrets.CODEMAKER_API_KEY }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Example of [codemaker-pull-request-action](https://github.com/codemakerai/codema
44

55
Requirements: give workflow write access to your repo.
66

7-
Under repo Settings -> Actions -> General -> Workflow permissions, make sure "Read and write permissions" is selected.
7+
Under repo Settings -> Actions -> General -> Workflow permissions, make sure "Read and write permissions" is selected.

0 commit comments

Comments
 (0)