Skip to content

Commit

Permalink
Use workflow token
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Nov 12, 2024
1 parent 90a6162 commit 2651f46
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pull_from_upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -33,3 +33,5 @@ jobs:
- name: Push changes to the target repository
run: |
git push origin main
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}

0 comments on commit 2651f46

Please sign in to comment.