chore(deps): bump the github-actions group with 4 updates#166
chore(deps): bump the github-actions group with 4 updates#166dependabot[bot] wants to merge 1 commit into
Conversation
Bumps the github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [actions/setup-python](https://github.com/actions/setup-python). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@9c091bb...3d3c42e) Updates `github/codeql-action/init` from 4.37.1 to 4.37.2 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@7188fc3...e064762) Updates `github/codeql-action/analyze` from 4.37.1 to 4.37.2 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@7188fc3...e064762) Updates `actions/setup-python` from 6.3.0 to 7.0.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@ece7cb0...5fda3b9) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action/init dependency-version: 4.37.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action/analyze dependency-version: 4.37.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: actions/setup-python dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughSummary by CodeRabbit
WalkthroughUpdates pinned GitHub Actions commits in CodeQL and test workflows, including checkout, setup-python, and CodeQL analysis actions. Existing workflow inputs and job behavior remain unchanged. ChangesWorkflow pin updates
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/codeql.yml:
- Line 25: Update every actions/checkout step in
.github/workflows/codeql.yml#L25, .github/workflows/test.yml#L38,
.github/workflows/test.yml#L64, .github/workflows/test.yml#L110-L112, and
.github/workflows/test.yml#L124 to set persist-credentials: false; preserve
fetch-depth: 0 on the gitleaks checkout job.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 12557485-c85d-42fd-8c04-11065d9e196d
📒 Files selected for processing (2)
.github/workflows/codeql.yml.github/workflows/test.yml
📜 Review details
⏰ Context from checks skipped due to timeout. (10)
- GitHub Check: test (ubuntu-latest, 3.11)
- GitHub Check: test (macos-latest, 3.10)
- GitHub Check: test (ubuntu-latest, 3.13)
- GitHub Check: test (ubuntu-latest, 3.10)
- GitHub Check: test (ubuntu-latest, 3.14)
- GitHub Check: test (macos-latest, 3.14)
- GitHub Check: test (windows-latest, 3.14)
- GitHub Check: test (windows-latest, 3.10)
- GitHub Check: test (ubuntu-latest, 3.12)
- GitHub Check: Analyze (python)
🧰 Additional context used
🪛 zizmor (1.26.1)
.github/workflows/codeql.yml
[warning] 25-25: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
.github/workflows/test.yml
[warning] 38-38: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
[warning] 64-64: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
[warning] 110-112: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
[warning] 124-124: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
🔇 Additional comments (2)
.github/workflows/codeql.yml (1)
27-33: LGTM!.github/workflows/test.yml (1)
39-39: LGTM!Also applies to: 65-65, 125-125
| contents: read | ||
| steps: | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
There was a problem hiding this comment.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
for f in .github/workflows/codeql.yml .github/workflows/test.yml; do
echo "### $f"
nl -ba "$f" | sed -n '1,220p'
echo
doneRepository: CryptoJones/omind
Length of output: 228
🏁 Script executed:
#!/bin/bash
set -euo pipefail
python3 - <<'PY'
from pathlib import Path
for p in [Path('.github/workflows/codeql.yml'), Path('.github/workflows/test.yml')]:
print(f'### {p}')
for i, line in enumerate(p.read_text().splitlines(), 1):
if 'actions/checkout' in line or 'persist-credentials' in line or 'git ' in line or 'checkout' in line or 'permissions:' in line or 'contents:' in line:
print(f'{i:4}: {line}')
print()
PYRepository: CryptoJones/omind
Length of output: 925
🏁 Script executed:
#!/bin/bash
set -euo pipefail
python3 - <<'PY'
from pathlib import Path
def show(path, start, end):
lines = path.read_text().splitlines()
print(f"### {path} ({start}-{end})")
for i in range(start, min(end, len(lines)) + 1):
print(f"{i:4}: {lines[i-1]}")
print()
show(Path('.github/workflows/codeql.yml'), 1, 120)
show(Path('.github/workflows/test.yml'), 1, 220)
PYRepository: CryptoJones/omind
Length of output: 8586
Disable persisted checkout credentials across these workflows.
Each actions/checkout step should set persist-credentials: false; none of these jobs needs the repo token after checkout. Keep fetch-depth: 0 on the gitleaks job.
.github/workflows/codeql.yml#L25.github/workflows/test.yml#L38.github/workflows/test.yml#L64.github/workflows/test.yml#L110-L112.github/workflows/test.yml#L124
🧰 Tools
🪛 zizmor (1.26.1)
[warning] 25-25: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
📍 Affects 2 files
.github/workflows/codeql.yml#L25-L25(this comment).github/workflows/test.yml#L38-L38.github/workflows/test.yml#L64-L64.github/workflows/test.yml#L110-L112.github/workflows/test.yml#L124-L124
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/workflows/codeql.yml at line 25, Update every actions/checkout step
in .github/workflows/codeql.yml#L25, .github/workflows/test.yml#L38,
.github/workflows/test.yml#L64, .github/workflows/test.yml#L110-L112, and
.github/workflows/test.yml#L124 to set persist-credentials: false; preserve
fetch-depth: 0 on the gitleaks checkout job.
Source: Linters/SAST tools
Bumps the github-actions group with 4 updates: actions/checkout, github/codeql-action/init, github/codeql-action/analyze and actions/setup-python.
Updates
actions/checkoutfrom 7.0.0 to 7.0.1Release notes
Sourced from actions/checkout's releases.
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
3d3c42eprep v7.0.1 release (#2531)2880268escape values passed to --unset (#2530)12cd223trim only ascii whitespace for branch (#2521)62661c4skip running unsafe pr check if input is default (#2518)e8d4307Bump the minor-actions-dependencies group with 2 updates (#2499)631c942eslint 9 (#2474)4f1f4aeBump actions/upload-artifact from 4 to 7 (#2476)ba09753Bump actions/checkout from 6 to 7 (#2488)b9e0990Bump docker/login-action from 3.3.0 to 4.2.0 (#2479)e8cb398Bump docker/build-push-action from 6.5.0 to 7.2.0 (#2478)Updates
github/codeql-action/initfrom 4.37.1 to 4.37.2Release notes
Sourced from github/codeql-action/init's releases.
Commits
e064762Merge pull request #4027 from github/update-v4.37.2-385bcdc5ae0faed8Add a couple of change notes73aad0eUpdate changelog for v4.37.2385bcdcMerge pull request #4026 from github/dependabot/npm_and_yarn/tar-7.5.20de0229cMerge branch 'main' into dependabot/npm_and_yarn/tar-7.5.20115e8cbMerge pull request #4010 from github/mbg/ts/update-release-branchdbdf0b0Bump tar from 7.5.16 to 7.5.20830c231Merge pull request #4023 from github/mbg/ff/remove-new-remote-file-addresses-ff69fd9e9Merge pull request #4024 from github/mbg/private-registry/make-docker-availableb855687Always makedocker_registryregistries availableUpdates
github/codeql-action/analyzefrom 4.37.1 to 4.37.2Release notes
Sourced from github/codeql-action/analyze's releases.
Commits
e064762Merge pull request #4027 from github/update-v4.37.2-385bcdc5ae0faed8Add a couple of change notes73aad0eUpdate changelog for v4.37.2385bcdcMerge pull request #4026 from github/dependabot/npm_and_yarn/tar-7.5.20de0229cMerge branch 'main' into dependabot/npm_and_yarn/tar-7.5.20115e8cbMerge pull request #4010 from github/mbg/ts/update-release-branchdbdf0b0Bump tar from 7.5.16 to 7.5.20830c231Merge pull request #4023 from github/mbg/ff/remove-new-remote-file-addresses-ff69fd9e9Merge pull request #4024 from github/mbg/private-registry/make-docker-availableb855687Always makedocker_registryregistries availableUpdates
actions/setup-pythonfrom 6.3.0 to 7.0.0Release notes
Sourced from actions/setup-python's releases.
Commits
5fda3b9Pin SHA commits and update docs with latest versions (#1338)4ab7e95Merge pull request #1337 from actions/philip-gai/bump-actions-cache-6-2-00f3a009Remove the pip-install input (#1336)f8cf429Migrate to ESM and upgrade dependencies (#1330)54baeeaValidate and retry manifest fetch to prevent silent failures (#1332)c709277Annotation code fix (#1335)6849080remove EOL Python versions and Bumps numpy text fixture (#1333)0903b46Bump certifi from 2020.6.20 to 2024.7.4 in /tests/data (#1328)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions