Skip to content

Commit

Permalink
Merge pull request #222 from DebugOk/Changelog-Concurrency
Browse files Browse the repository at this point in the history
Prevent multiple changelog commits at once
  • Loading branch information
Cheackraze authored Aug 18, 2023
2 parents df989e8 + de42f1f commit 7466081
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: PR Changelogs
concurrency: commit_action
on:
pull_request_target:
types: [closed]
Expand Down Expand Up @@ -46,6 +47,7 @@ jobs:

- name: Commit Changelog
run: |
git pull origin master
git add *.yml
git commit -m "${{ vars.CHANGELOG_MESSAGE }} (#${{ env.PR_NUMBER }})"
git push
Expand Down

0 comments on commit 7466081

Please sign in to comment.