Skip to content

Commit

Permalink
Merge pull request #5 from caffeine-addictt/fix/github-prefix-not-all…
Browse files Browse the repository at this point in the history
…owed

fix: secrets starting with github_ are not allowed
  • Loading branch information
caffeine-addictt authored Mar 13, 2024
2 parents c5da029 + fa662ed commit 0ad6717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
with:
# We need "workflows" permissions to allow us to update .github/workflows/*
# Create a PAT with "contents:write", "workflows:write" and "metadata:read" permissions
# and write it to the "GITHUB_PAT" secret
# and write it to the "PERSONAL_ACCESS_TOKEN" secret
# https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token
# https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository
github_token: ${{ secrets.GITHUB_PAT }}
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
source_repo_path: ${{ env.UPSTREAM_REPO }}
upstream_branch: ${{ env.UPSTREAM_BRANCH }}
pr_labels: "CI: Template Sync"

0 comments on commit 0ad6717

Please sign in to comment.