Skip to content

Commit fbde51e

Browse files
fix root readme worflow (#17)
* fix root readme workflow
1 parent 9dfa324 commit fbde51e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/create-root-readme.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
types:
77
- completed
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
create-root-readme:
1114

@@ -34,9 +37,8 @@ jobs:
3437
env:
3538
GITHUB_TOKEN: ${{ steps.token-generation.outputs.token }}
3639
run: |
37-
git config user.name 'github-actions'
40+
git config user.name 'github-actions-bot'
3841
git config user.email '[email protected]'
3942
git add .
4043
git commit -m "Update documentation"
41-
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/devwithkrishna/azure-terraform-modules.git
42-
git push origin main
44+
git push

0 commit comments

Comments
 (0)