Skip to content

Conversation

@aeisenberg
Copy link
Contributor

Specifying a token as a cli input leads to a potential for leaking the
token on CI logs. This commit removes the option. Instead, users
should specify a single GitHub token through --github-auth-stdin or
by setting the GITHUB_TOKEN environment variable. This token should be
created with enough privileges to access the required repository.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.

Note: This change is not backwards compatible, but because this PR removes a feature that is not yet documented, the risk of removal is low.

Base automatically changed from aeisenberg/auth-from-stdin to main February 16, 2021 19:26
Specifying a token as a cli input leads to a potential for leaking the
token on CI logs. This commit removes the option. Instead, users
should specify a single GitHub token through `--github-auth-stdin` or
by setting the `GITHUB_TOKEN` environment variable. This token should be
created with enough privileges to access the required repository.
@aeisenberg aeisenberg force-pushed the aeisenberg/remove-external-token branch from 78e7bd8 to 58defc0 Compare February 16, 2021 19:28
@adityasharad adityasharad merged commit 0ab754c into main Feb 16, 2021
@adityasharad adityasharad deleted the aeisenberg/remove-external-token branch February 16, 2021 23:12
@robertbrignull robertbrignull mentioned this pull request Feb 17, 2021
2 tasks
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.

4 participants