Skip to content

Commit ce27e10

Browse files
committed
fix github workflows perm, add CHANGELOG.md
1 parent f4cce02 commit ce27e10

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/update-changelog.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88
update:
99
runs-on: ubuntu-latest
1010

11+
permissions:
12+
contents: write
13+
1114
steps:
1215
- name: Checkout code
1316
uses: actions/checkout@v3
@@ -21,8 +24,9 @@ jobs:
2124
release-notes: ${{ github.event.release.body }}
2225

2326
- name: Commit updated CHANGELOG
24-
uses: stefanzweifel/git-auto-commit-action@v4
27+
uses: stefanzweifel/git-auto-commit-action@v4.16.0
2528
with:
26-
branch: master
29+
branch: changelog-${{ github.event.release.name }}
30+
create_branch: true
2731
commit_message: Update CHANGELOG
2832
file_pattern: CHANGELOG.md

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Changelog
2+
3+
All notable changes to `laravel-spatial` will be documented in this file.

0 commit comments

Comments
 (0)