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

Renovate still opens updates for GitHub Actions at commit level #16

Closed
oscard0m opened this issue Sep 12, 2022 · 1 comment
Closed

Renovate still opens updates for GitHub Actions at commit level #16

oscard0m opened this issue Sep 12, 2022 · 1 comment

Comments

@oscard0m
Copy link
Member

Seems like the noise is still there even though we have removed helpers:pinGitHubActionDigests

Example: octokit/auth-unauthenticated.js#161

Should we run a script to move GitHub actions back to a tag? i.e. actions/setup-node@v3

@gr2m
Copy link
Contributor

gr2m commented Sep 27, 2022

Thanks to @oscard0m's https://github.com/oscard0m/octoherd-script-update-action-version-in-workflows, I've updated all uses of actions/checkout, actions/setup-node and github/codeql-action/* to the respective latest v*.

Let me know if there are any left. When node is setup, and you have GITHUB_TOKEN env defined, you can run the script like this (set --actionName, --actionVersion, and --workflow accordingly. --workflow is optional, it defaults to * in which case all workflow files are checked)

npx octoherd-script-update-action-version-in-workflows@latest \
        --actionName github/codeql-action/analyze \
        --actionVersion v2 \
        --workflow codeql.yml \
        -T $GITHUB_TOKEN \
        -R "octokit/*"

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

No branches or pull requests

2 participants