Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scorecards-analysis workflow to utilize GITHUB_TOKEN instead of PAT #910

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JamesMGreene
Copy link
Contributor

@JamesMGreene JamesMGreene commented May 2, 2024

The currently recommended approach for using the ossf/scorecard-action is to use the Actions GITHUB_TOKEN instead of a custom Personal Access Token:

https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional

This can also be seen in the related example workflow that OSSF provides:

https://github.com/ossf/scorecard/blob/62aca9907cbc960f45bc698bdf8c98c6bb76c2c0/.github/workflows/scorecard-analysis.yml

⚠️ Furthermore: the read-only PAT that is currently being used by this workflow is owned by me. Since I am no longer a collaborator, I will be unable to update the repository secret that contains this PAT after it expires. As such, please try to verify and merge this PR within the next week to avoid potential workflow failures!

Copy link

github-actions bot commented May 2, 2024

Cat Gif

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.

None yet

1 participant