-
Notifications
You must be signed in to change notification settings - Fork 13
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
MNT: Use hash for Action workflow versions and update if needed #234
Conversation
@pllim do we need to do anything to configure dependabot to handle this format? |
No, I don't think so. @bsipocz can confirm if you need second opinion. Thanks! |
with: | ||
fetch-depth: 0 | ||
lfs: true | ||
submodules: ${{ inputs.submodules }} | ||
- name: Install dependencies | ||
if: ${{ inputs.libraries != '' }} | ||
uses: ConorMacBride/install-package@main | ||
uses: ConorMacBride/install-package@3e7ad059e07782ee54fa35f827df52aae0626f30 # v1.1.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.
This doesn't seem good to use a personal action in here.
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.
That is a separate issue:
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.
Well, that is still not nice, wasn't the whole point of using OpenAstronomy to eliminate single point of failures, yet it uses an action from personal repo under the hood.
Yeap, no changes are needed for dependabot, it handles the hashes well. (Though my preference is to have a grouped, monthly run) |
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.
I am fine with this, but I will let someone else review it as well.
If Stuart wants that, I can also attach that change in this PR real quick. Just lemme know. |
Go for it! |
Done. Thanks, all! |
@pllim can you rebase this? |
@Cadair I used the GitHub web interface to resolve conflicts which introduced merge commit. Please squash and merge. Thanks! |
There are some runner errors/warnings that are not related to this PR? https://github.com/OpenAstronomy/github-actions-workflows/actions/runs/12015369295 |
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.
Let's have this in.
Thanks @pllim! |
As recommended by https://scientific-python.org/specs/spec-0008/#pin-github-actions-release-workflows-to-their-full-release-commit-shas , this PR changes your Actions workflow version pins to hashes, and updates to latest release hashes (at the time of writing) if needed.
This is an automated update made by the
batchpr
tool 🤖 - feel free to close if it doesn't look good! You can report issues to @pllim.👻