Browse Source

Update release.yml

Eduardo Mozart de Oliveira 11 months ago
parent
commit
1eca10ee2b
1 changed files with 8 additions and 1 deletions
  1. 8 1
      .github/workflows/release.yml

+ 8 - 1
.github/workflows/release.yml

@@ -41,13 +41,20 @@ jobs:
               #excludeTypes: build,docs,style
               #excludeTypes: build,docs,style
               #includeInvalidCommits: true
               #includeInvalidCommits: true
 
 
-          - name: Commit CHANGELOG.md
+          - name: Commit CHANGELOG.md (master)
             uses: stefanzweifel/git-auto-commit-action@v4
             uses: stefanzweifel/git-auto-commit-action@v4
             with:
             with:
               branch: master
               branch: master
               commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
               commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
               file_pattern: CHANGELOG.md
               file_pattern: CHANGELOG.md
 
 
+          - name: Commit CHANGELOG.md (branch)
+            uses: stefanzweifel/git-auto-commit-action@v4
+            with:
+              branch: ${{ github.ref_name }}
+              commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
+              file_pattern: CHANGELOG.md
+
     build:
     build:
       name: Upload Release Asset
       name: Upload Release Asset
       permissions: write-all
       permissions: write-all