Skip to content

Commit

Permalink
Add .env variable to fix action with 403
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari committed Feb 6, 2024
1 parent c746ec8 commit f76ca1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update-policy-china.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ jobs:
git commit -m '${{ env.pr_title }}'
git push origin ${{ env.branch_name }}
working-directory: ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}

- name: Create pull request
if: steps.git_status.outputs.changes > 0
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ jobs:
git commit -m '${{ env.pr_title }}'
git push origin ${{ env.branch_name }}
working-directory: ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}

- name: Create pull request
if: steps.git_status.outputs.changes > 0
Expand Down

0 comments on commit f76ca1b

Please sign in to comment.