Skip to content

Commit

Permalink
testing github action
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioAPeraza committed May 30, 2022
1 parent de113a7 commit d9e0c88
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: "Update Changelog"

on:
release:
types: [released]
push:
branches:
- "main"
pull_request:
branches:
- '*'

jobs:
update:
Expand All @@ -17,12 +21,12 @@ jobs:
- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ github.event.release.tag_name }}
latest-version: 0.0.11
release-notes: ${{ github.event.release.body }}

- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: main
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
file_pattern: https://github.com/JulioAPeraza/NiMARE/blob/auto-changelog/CHANGELOG.md

0 comments on commit d9e0c88

Please sign in to comment.