Skip to content

Commit dec2217

Browse files
committed
Fix permissions
1 parent 0740094 commit dec2217

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/update-submodules.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ on:
77

88
jobs:
99
run:
10-
name: Update submodules
10+
name: Update submodules
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
1214
steps:
1315
- uses: actions/checkout@v4
1416
with:
@@ -24,7 +26,7 @@ jobs:
2426
git config user.name github-actions
2527
git config user.email [email protected]
2628
- name: Commit changes
27-
if: ${{ !!steps.submodules_updated.outputs.changed == true }}
29+
if: ${{ steps.submodules_updated.outputs.changed == true }}
2830
run: |
2931
git add dfhack df-structures
3032
git commit -m "Auto-update submodules"

0 commit comments

Comments
 (0)