Skip to content

Commit

Permalink
update with permission
Browse files Browse the repository at this point in the history
  • Loading branch information
msg087 committed Dec 8, 2023
1 parent 6558c2c commit 5291020
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/update_readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ jobs:
markscribe:
runs-on: ubuntu-latest

permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write

steps:
- uses: actions/checkout@main
- uses: actions/checkout@v4
- name: Self test
id: selftest
uses: muesli/readme-scribe@master
Expand All @@ -34,12 +39,6 @@ jobs:
run: |
cat test/README.md
- uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.UPDATE_WAKATIME }}
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update generated README
branch: main
commit_user_name: msg087
commit_user_email: [email protected]
commit_author: msg087
commit_message: Update README.md

0 comments on commit 5291020

Please sign in to comment.