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

Use dependabot to keep github actions up to date #330

Merged
merged 1 commit into from
Oct 19, 2024
Merged

Conversation

A-CGray
Copy link
Contributor

@A-CGray A-CGray commented Sep 13, 2024

A number of the pre-existing github action steps we use are quite out of date, which can cause CI jobs to fail , e.g in #329 we had to update the upload_artifacts action because it was killing our unit tests job, and we are currently getting warnings on our linting job because the version of the checkout action we use is soon to be deprecated.

image

To save us the effort of manually keeping them up to date, we can use GitHub's dependabot. The config I have in this PR will have the dependabot run once a month and open a PR to update any of the actions we're using that are out of date. For an example, see A-CGray/FEMpy#68.

Someone with the relevant permissions will also have to enable dependabot in the repo settings (below are the settings I have on one of my dependabot-enabled repos)

image

Copy link
Collaborator

@timryanb timryanb left a comment

Choose a reason for hiding this comment

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

This sounds good to me. Though I don't have the permissions to set this up. We'll have to ask @gjkennedy to change these settings in the repo

@gjkennedy gjkennedy merged commit 18e18c6 into master Oct 19, 2024
5 checks passed
@gjkennedy gjkennedy deleted the dependabot branch October 19, 2024 00:58
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.

3 participants