Skip to content
This repository was archived by the owner on Jun 16, 2022. It is now read-only.

Use Action default token #1

Merged
merged 1 commit into from
Apr 28, 2022
Merged

Use Action default token #1

merged 1 commit into from
Apr 28, 2022

Conversation

lseppala
Copy link
Contributor

Actions provide an authorization token by default. This is provided both by the github.token template variable and by the environment variable GITHUB_TOKEN. This changes the token input to use this default token.

With this specified, it is not necessary to provide a PAT in secrets.

@lseppala lseppala requested a review from lorenanicole April 27, 2022 22:01
@lseppala lseppala force-pushed the lsep/default-token branch from 0e2e8b5 to 861a934 Compare April 27, 2022 22:02
@lseppala lseppala force-pushed the lsep/default-token branch from 861a934 to e957c5e Compare April 27, 2022 22:02
@lseppala lseppala requested a review from mrysav April 27, 2022 22:02
@mrysav
Copy link
Contributor

mrysav commented Apr 28, 2022

I'm going to approve this, but I think there is some more possible subtlety here because the action consumes the dependency-submission-toolkit package from the GH package registry, which I think needs an auth token with read:packages.

Ship to learn though, right? ;)

@mrysav mrysav merged commit b35953e into main Apr 28, 2022
@mrysav mrysav deleted the lsep/default-token branch April 28, 2022 15:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants