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 scorecard.yml to new checkout and analysis actions. #840

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

aiuto
Copy link
Collaborator

@aiuto aiuto commented Mar 22, 2024

Update scorecard workflow as per https://github.com/ossf/scorecard-action

My earlier suggested fix had no effect. This one seems more likely, based on the error message on the security tab

[Scorecard analysis](https://github.com/bazelbuild/rules_pkg/actions/runs/8391092847/job/22980629120)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

That suggests that actions/checkout is out of date.

<rant>I think it is inexcusable for a security scanner to not do numbered releases. You can not expect humans to audit and reason about github hashes.</rant>

@aiuto aiuto requested review from cgrindel and meteorcloudy and removed request for meteorcloudy March 22, 2024 13:47
@aiuto aiuto merged commit 15d628d into main Mar 22, 2024
4 checks passed
@aiuto aiuto deleted the aiuto-patch-1 branch March 22, 2024 14:10
@aiuto
Copy link
Collaborator Author

aiuto commented Mar 22, 2024

Whump, whump, whump. That still does not help.
I've spent more time than I can afford on this for now.
I filed ossf/scorecard#3968 against scorecard. Let's see what they say.

@@ -35,12 +35,12 @@ jobs:
uses: actions/setup-node@v4.0.2

- name: "Checkout code"
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
Copy link
Collaborator

Choose a reason for hiding this comment

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

We may want to update this to 4.x.x soon. GitHub is deprecating actions that use node 16.

@aiuto
Copy link
Collaborator Author

aiuto commented Mar 22, 2024 via email

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

3 participants