Skip to content

enable dependabot for GitHub actions #415

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

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Conversation

ranocha
Copy link
Member

@ranocha ranocha commented Aug 22, 2023

This allows to get updates for GitHub actions automatically. I have used this for my own packages, the Trixi.jl framework, and the SciML organization. After merging this, you could also enable other Dependabot actions in 'Settings -> Code security and analysis -> Dependabot alerts' and '... -> Dependabot security updates'.

See SciML/MuladdMacro.jl#37

@vchuravy
Copy link
Member

I don't really see the value in automated tooling like this? What does this get me?

@ranocha
Copy link
Member Author

ranocha commented Aug 22, 2023

Some of the actions that you're using are deprecated. For example, I see

The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

in some of your latest CI runs such as https://github.com/JuliaGPU/KernelAbstractions.jl/actions/runs/5640024406

I don't know how GitHub will handle this in the future. In their blog, they write

What you need to do

For Actions maintainers: Update your actions to run on Node16 instead of Node12 (Actions configuration settings)
For Actions users: Update your workflows with latest versions of the actions which runs on Node16 (Using versions for Actions)

Dependabot will do the latter for you (by creating a PR)

@vchuravy
Copy link
Member

sigh I do so enjoy churn.

@vchuravy vchuravy merged commit 337a72f into JuliaGPU:main Aug 22, 2023
@ranocha ranocha deleted the hr/dependabot branch August 23, 2023 04:05
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.

2 participants