jpoehnelt / secrets-sync-action

A Github Action that can sync secrets from one repository to many others.
https://github.com/marketplace/actions/secrets-sync-action
Apache License 2.0
314 stars 92 forks source link

github_token - alternatives to secrets.GITHUB_TOKEN #44

Closed baob closed 1 year ago

baob commented 3 years ago

The README says about github_token

{{secrets.GITHUB_TOKEN}} will not work.

But it's not clear what is supposed to work. Is this meant to be a github personal access token, or what other alternatives are there ?

Do I need to consider writing custom code as in Issue #9 ?

Plabick commented 3 years ago

You need to provide a GitHub PAT with greater permissions than the token GitHub provides for workflows. You can generate the token using these instructions - you'll need to include the "admin: write" privilege to manage secrets.