diff --git a/.github/workflows/pull_from_upstream.yml b/.github/workflows/pull_from_upstream.yml index cfe62be..00b5058 100644 --- a/.github/workflows/pull_from_upstream.yml +++ b/.github/workflows/pull_from_upstream.yml @@ -21,8 +21,8 @@ jobs: - name: Set up git run: | - git config --global user.name "${{ secrets.GITHUB_ACTOR }}" - git config --global user.email "${{ secrets.GITHUB_ACTOR }}@users.noreply.github.com" + git config --global user.name "${{ github.github_actor }}" + git config --global user.email "${{ github.github_actor }}@users.noreply.github.com" - name: Pull from OpenAstronomy/github-actions-workflows main branch run: | @@ -33,3 +33,5 @@ jobs: - name: Push changes to the target repository run: | git push origin main + env: + GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}