Skip to content

Commit d1d63b4

Browse files
authored
Update patch.yml
1 parent 0cdcbbb commit d1d63b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/patch.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
echo "currentTag: ${{steps.step1.outputs.currentTag}}"
2929
echo "commitCount: ${{steps.step2.outputs.commitCount}}"
3030
make-patch:
31+
permissions:
32+
contents: write
33+
3134
needs: setup-outputs
3235

3336
runs-on: ubuntu-latest
@@ -42,8 +45,6 @@ jobs:
4245
- name: Edit csproj
4346
run: sed -i 's+<VersionPrefix>${{needs.setup-outputs.outputs.currentTag}}</VersionPrefix>+<VersionPrefix>${{env.newTag}}</VersionPrefix>+g' ./README.md
4447
- run: |
45-
git config --global user.name 'TiLied'
46-
git config --global user.email '[email protected]'
4748
git commit -am "Nuget ${{env.newTag}}"
4849
git push
4950
- id: step2

0 commit comments

Comments
 (0)