-
Notifications
You must be signed in to change notification settings - Fork 136
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
feat: workflow to update actions dist #3653
Conversation
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
Signed-off-by: Ramon Petgrave <[email protected]>
@@ -97,8 +97,8 @@ jobs: | |||
|
|||
- name: actionlint | |||
env: | |||
ACTIONLINT_VERSION: "1.6.24" | |||
ACTIONLINT_CHECKSUM: "3c5818744143a5d6754edd3dcc4c2b32c9dfcdd3bb30e0e108fb5e5c505262d4" | |||
ACTIONLINT_VERSION: "1.7.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. 1.7.0 has initial support for GitHub actions actions.yml and not just workflows.
https://github.com/rhysd/actionlint/releases/tag/v1.7.0
permissions: {} | ||
|
||
on: | ||
workflow_dispatch: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think we typically have 2 space indentation for the yaml files though it looks like the linter doesn't currently enforce it.
Summary
Similar to slsa-verifier's slsa-framework/slsa-verifier#760
This PR adds a manually-invoked workflow to run against renovate-bot's PRs to update the node
dist
folders.I made one small change to use the
${{ inputs.pr_number }}
as an environment variable, to harden against script injection. See also slsa-framework/slsa-verifier#771Also updating shellckeck to fix this lint error:
Testing Process
I ran this against my fork's version of PR #3649. It did update the dist folders and the check-dists checks pass
Checklist