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

Maintenance: bump old actions, add dependabot, fix macOS runners configuration #197

Merged
merged 7 commits into from
May 1, 2024

Conversation

jaimergp
Copy link
Contributor

@jaimergp jaimergp commented Apr 29, 2024

Description

Canaries are failing on macOS due to outdated actions. Fixing and preventing future errors.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@jaimergp jaimergp requested a review from a team as a code owner April 29, 2024 15:35
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Apr 29, 2024
@@ -43,7 +43,7 @@ jobs:
python-version: "3.9"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
Copy link
Contributor

Choose a reason for hiding this comment

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

use commit hashes instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are adding dependabot here to handle that automatically.

Copy link
Contributor

@kenodegard kenodegard May 1, 2024

Choose a reason for hiding this comment

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

AFAIK dependabot will replace tags with tags and commits hashes with commits hashes, so the conversion isn't automatic

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, really? That's unfortunate 😬 Let's see if there's a tool to automatically convert.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Used https://github.com/mheap/pin-github-action and some post-processing. All pinned now.

Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to add <major>.<minor>.<patch> version numbers to all of them to make it easier to see which version is used exactly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I see why now. Cool. Added!

Copy link
Contributor

@marcoesters marcoesters left a comment

Choose a reason for hiding this comment

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

I'm more familiar with renovate than dependabot, but I have the following questions/suggestions:

@jaimergp
Copy link
Contributor Author

jaimergp commented May 1, 2024

Will dependabot replace the version numbers with commit hashes eventually?

Yes. Oops, nop. On it.

@jaimergp jaimergp merged commit 7441c63 into conda:main May 1, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants