github-sync icon indicating copy to clipboard operation
github-sync copied to clipboard

Use auto generated GITHUB_TOKEN instead of PAT

Open linux4life798 opened this issue 1 year ago • 2 comments

You don't need to use a Personal Access Token anymore. You can use the GitHub Action automatically supplied GITHUB_TOKEN, instead.

linux4life798 avatar Jan 05 '24 04:01 linux4life798

Looks like the difference is that using the GITHUB_TOKEN to push to a repo will not trigger subsequent action. Using the PAT will trigger them. See https://github.com/orgs/community/discussions/25702#discussioncomment-3248819.

linux4life798 avatar Jan 05 '24 20:01 linux4life798

Hmm doesn't seem to be an issue associated with the pull request. For most folks I'd imagine you'd need a PAT to access two different repositories.

heiskr avatar Apr 30 '24 20:04 heiskr

I'm going to go ahead and close this pull request, but feel free to open a new one if needed.

heiskr avatar May 21 '24 16:05 heiskr