Skip to content

Commit

Permalink
Fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
manabil authored Aug 19, 2023
1 parent 8c2cc8f commit 4be0e44
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/tree_readme.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
name: Generate README

on:
push:
branches: main
on: push

jobs:

generate-tree:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: 'Checkout Repository'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
Expand All @@ -27,8 +26,8 @@ jobs:
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "manabil"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -am "Update tree"
- name: Push changes
Expand Down

0 comments on commit 4be0e44

Please sign in to comment.