File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,9 @@ jobs:
121
121
needs : changes
122
122
if : needs.changes.outputs.gomod == 'true'
123
123
runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
124
+ permissions :
125
+ # Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
126
+ contents : write
124
127
steps :
125
128
- name : Checkout
126
129
uses : actions/checkout@v4
@@ -133,8 +136,10 @@ jobs:
133
136
- name : Update Nix Flake SRI Hash
134
137
run : ./scripts/update-flake.sh
135
138
136
- - name : Ensure No Changes
137
- run : git diff --exit-code
139
+ - uses : stefanzweifel/git-auto-commit-action@v5
140
+ with :
141
+ # Allows dependabot to still rebase!
142
+ commit_message : " [dependabot skip] Update Nix Flake SRI Hash"
138
143
139
144
lint :
140
145
needs : changes
You can’t perform that action at this time.
0 commit comments