Skip to content

Conversation

@jayaddison
Copy link

with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm taking a second look at this pull request, and I don't have a good reason why I removed the persist-credentials: false line. If we can keep it in place, then I think we should do that (minimisation of credentials and their exposure).

@jayaddison
Copy link
Author

NB: I have tested that this GitHub Actions workflow job is able to commit codestyle-lint-fixup changes after removal of the Personal Access Token, and did that by using a pull request I opened including the commits from this branch on a fork of this repository at: jayaddison#1

@jayaddison
Copy link
Author

@jackton1 ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant