-
Notifications
You must be signed in to change notification settings - Fork 235
[pre-commit.ci] pre-commit autoupdate #3991
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,7 +60,7 @@ jobs: | |
|
|
||
| # Install Micromamba with conda-forge dependencies | ||
| - name: Setup Micromamba | ||
| uses: mamba-org/setup-micromamba@v2.0.5 | ||
| uses: mamba-org/setup-micromamba@b09ef9b599704322748535812ca03efb2625677b # v2.0.5 | ||
| with: | ||
| environment-name: pygmt | ||
| cache-environment: true | ||
|
|
@@ -131,7 +131,7 @@ jobs: | |
| cmake -G Ninja .. ^ | ||
| -DCMAKE_INSTALL_PREFIX=%GMT_INSTALL_DIR% ^ | ||
| -DCMAKE_BUILD_TYPE=Release ^ | ||
| -DCMAKE_PREFIX_PATH=${{ env.MAMBA_ROOT_PREFIX }}\envs\pygmt\Library ^ | ||
| -DCMAKE_PREFIX_PATH=%MAMBA_ROOT_PREFIX%\envs\pygmt\Library ^ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Zizmor was complaining that this line was vulnerable to code template injection: The Can you verify that this makes sense @seisman, given your comment on |
||
| -DGMT_ENABLE_OPENMP=TRUE ^ | ||
| -DGMT_USE_THREADS=TRUE | ||
| cmake --build . | ||
|
|
||
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've used
pinactto convert the tags to hash values, only for non-official GitHub Actions (i.e.actions/checkoutstill uses the tags). Let me know if you prefer to pin the hashes for the official GitHub Actions workflows too.Uh oh!
There was an error while loading. Please reload this page.
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.
Did you make the changes manually and do we have to update the hashes manually next time?
Uh oh!
There was an error while loading. Please reload this page.
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.
No, I just ran
pinact run, and it retrieved the hashes automatically.Edit: There is also a verify option using
pinact run --verifyif you want to check that the hashes are ok.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 meant do we need to run
pinact runmanually next time?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.
Oh no, we don't need to because dependabot can update the SHA hash, as well as the
# vX.Y.Zversion tag comment at the end, see dependabot/dependabot-core#4691