diff --git a/.github/workflows/tree_readme.yml b/.github/workflows/tree_readme.yml index 52dd015..f588227 100644 --- a/.github/workflows/tree_readme.yml +++ b/.github/workflows/tree_readme.yml @@ -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 @@ -27,8 +26,8 @@ jobs: - name: Commit files run: | - git config --local user.email "mammarnabil@students.unnes.ac.id" - 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