diff --git a/.github/workflows/update-repo.yml b/.github/workflows/update-repo.yml index b9f7602..24de4c3 100644 --- a/.github/workflows/update-repo.yml +++ b/.github/workflows/update-repo.yml @@ -12,6 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + token: ${{ secrets.PAT }} - name: Set up Python uses: actions/setup-python@v2 @@ -58,8 +60,8 @@ jobs: - name: Commit changes run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" git add repo.json git diff --quiet && git diff --staged --quiet || git commit -m "Update repo.json" git push \ No newline at end of file