Repository navigation
CI Add dependabot and pin github action versions #314
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
Open
FrancoisPgm
wants to merge
1
commit into
joblib:master
Choose a base branch
from
FrancoisPgm:ci/github-actions-updates
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+164
−18
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| version: 2 | ||
| updates: | ||
| # Maintain dependencies for GitHub Actions as recommended in SPEC8: | ||
| # https://github.com/scientific-python/specs/pull/325 | ||
| # Every `uses:` pointing to another repository references a full version tag, | ||
| # and is pinned to a commit in .github/workflows/actions.lock, generated by | ||
| # `gh actions-lock`. Dependabot updates the lockfile in its PRs. | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "monthly" | ||
| groups: | ||
| actions: | ||
| patterns: | ||
| - "*" | ||
| labels: | ||
| - "dependencies" | ||
| - "CI" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,105 @@ | ||
| # This file is machine-generated by `gh actions-lock`. | ||
| # Do not edit by hand; run `gh actions-lock` to update. | ||
| # Docs: https://gh.io/actions-lockfile | ||
| version: 'v0.0.3' | ||
| workflows: | ||
| '.github/workflows/publish-to-pypi.yml': | ||
| - 'actions/checkout@v4.4.0' | ||
| - 'actions/download-artifact@v4.3.0' | ||
| - 'actions/setup-python@v5.6.0' | ||
| - 'actions/upload-artifact@v4.6.2' | ||
| - 'pypa/gh-action-pypi-publish@v1.14.3' | ||
| - 'sigstore/gh-action-sigstore-python@v3.0.0' | ||
| '.github/workflows/test.yml': | ||
| - 'actions/cache@v4.3.0' | ||
| - 'actions/checkout@v3.7.0' | ||
| - 'actions/download-artifact@v4.3.0' | ||
| - 'actions/setup-python@v4.9.1' | ||
| - 'actions/upload-artifact@v4.6.2' | ||
| - 'codecov/codecov-action@v5.5.5' | ||
| - 'conda-incubator/setup-miniconda@v3.3.0' | ||
| '.github/workflows/verify-actions-lock.yml': | ||
| - 'actions/checkout@v4.4.0' | ||
| dependencies: | ||
| 'actions/cache@v4.3.0': | ||
| ref: 'v4.3.0' | ||
| commit: 'sha1-0057852bfaa89a56745cba8c7296529d2fc39830' | ||
| owner_id: 44036562 | ||
| repo_id: 215566462 | ||
| 'actions/checkout@v3.7.0': | ||
| ref: 'v3.7.0' | ||
| commit: 'sha1-a37ce9120846195fa4ece8f58b268e6043cb2f26' | ||
| owner_id: 44036562 | ||
| repo_id: 197814629 | ||
| 'actions/checkout@v4.4.0': | ||
| ref: 'v4.4.0' | ||
| commit: 'sha1-11d5960a326750d5838078e36cf38b85af677262' | ||
| owner_id: 44036562 | ||
| repo_id: 197814629 | ||
| 'actions/download-artifact@v4.3.0': | ||
| ref: 'v4.3.0' | ||
| commit: 'sha1-d3f86a106a0bac45b974a628896c90dbdf5c8093' | ||
| owner_id: 44036562 | ||
| repo_id: 192626254 | ||
| 'actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea': | ||
| ref: 'v7.0.1' | ||
| commit: 'sha1-60a0d83039c74a4aee543508d2ffcb1c3799cdea' | ||
| owner_id: 44036562 | ||
| repo_id: 205262760 | ||
| 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405': | ||
| ref: 'v6.2.0' | ||
| commit: 'sha1-a309ff8b426b58ec0e2a45f0f869d46889d02405' | ||
| owner_id: 44036562 | ||
| repo_id: 192625525 | ||
| 'actions/setup-python@v4.9.1': | ||
| ref: 'v4.9.1' | ||
| commit: 'sha1-7f4fc3e22c37d6ff65e88745f38bd3157c663f7c' | ||
| owner_id: 44036562 | ||
| repo_id: 192625525 | ||
| 'actions/setup-python@v5.6.0': | ||
| ref: 'v5.6.0' | ||
| commit: 'sha1-a26af69be951a213d495a4c3e4e4022e16d87065' | ||
| owner_id: 44036562 | ||
| repo_id: 192625525 | ||
| 'actions/upload-artifact@v4': | ||
| ref: 'v4' | ||
| commit: 'sha1-ea165f8d65b6e75b540449e92b4886f43607fa02' | ||
| owner_id: 44036562 | ||
| repo_id: 192625955 | ||
| 'actions/upload-artifact@v4.6.2': | ||
| ref: 'v4.6.2' | ||
| commit: 'sha1-ea165f8d65b6e75b540449e92b4886f43607fa02' | ||
| owner_id: 44036562 | ||
| repo_id: 192625955 | ||
| 'codecov/codecov-action@v5.5.5': | ||
| ref: 'v5.5.5' | ||
| commit: 'sha1-0fb7174895f61a3b6b78fc075e0cd60383518dac' | ||
| owner_id: 8226205 | ||
| repo_id: 200299178 | ||
| uses: | ||
| - 'actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea' | ||
| 'conda-incubator/setup-miniconda@v3.3.0': | ||
| ref: 'v3.3.0' | ||
| commit: 'sha1-fc2d68f6413eb2d87b895e92f8584b5b94a10167' | ||
| owner_id: 68608217 | ||
| repo_id: 228279841 | ||
| 'pypa/gh-action-pypi-publish@v1.14.3': | ||
| ref: 'v1.14.3' | ||
| commit: 'sha1-7245906fb61fa33a13554f9d5fb856fe61758086' | ||
| owner_id: 647025 | ||
| repo_id: 178055147 | ||
| uses: | ||
| - 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405' | ||
| 'sigstore/gh-action-sigstore-python@v3.0.0': | ||
| ref: 'v3.0.0' | ||
| commit: 'sha1-f514d46b907ebcd5bedc05145c03b69c1edd8b46' | ||
| owner_id: 71096353 | ||
| repo_id: 508560980 | ||
| uses: | ||
| - 'actions/upload-artifact@v4' | ||
| - 'softprops/action-gh-release@v2' | ||
| 'softprops/action-gh-release@v2': | ||
| ref: 'v2' | ||
| commit: 'sha1-3bb12739c298aeb8a4eeaf626c5b8d85266b0e65' | ||
| owner_id: 2242 | ||
| repo_id: 204253808 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Fails when .github/workflows/actions.lock is out of sync with the | ||
| # workflows, or when a locked commit no longer verifies upstream. | ||
| name: Verify actions lockfile | ||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - master | ||
|
|
||
| jobs: | ||
| verify-actions-lock: | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| steps: | ||
| - uses: actions/checkout@v4.4.0 | ||
| with: | ||
| persist-credentials: false | ||
| - run: gh extension install github/gh-actions-lock --pin v0.4.1 | ||
| - run: gh actions-lock --verify | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 is copied from the same action in scikit-learn, but I noticed the
gh-actions-lockversion is manually pinned here tov0.4.1. I don't know why it is the case and dependabot won't update it, as it only cares about the "uses" pattern. So this needs to be manually bumped. I don't see the advantage but I blindly followed the scikit-learn example.