Skip to content

Commit

Permalink
Merge pull request #7 from learningequality/rtibbles-patch-1
Browse files Browse the repository at this point in the history
Update update_changelog.yml
  • Loading branch information
rtibbles authored Aug 8, 2024
2 parents 835b1c2 + 84c53f4 commit efb696f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/update_changelog.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Update Changelog.md

on:
pull_request:
pull_request_target:
types:
- closed

Expand Down Expand Up @@ -46,8 +46,5 @@ jobs:
awk '/<!-- \[DO NOT REMOVE-USED BY GH ACTION\] PASTE CHANGELOG -->/{print; system("cat pr_info.txt"); next} 1' CHANGELOG.md > tmpfile && mv tmpfile CHANGELOG.md
- name: Commit updated CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: ${{ github.event.pull_request.base.ref }}
commit_message: "Update CHANGELOG.md w/ PR #${{ github.event.pull_request.number }}"
file_pattern: CHANGELOG.md
uses: pre-commit-ci/[email protected]
if: always()

0 comments on commit efb696f

Please sign in to comment.