Skip to content

ci: bump python-bandit-scan to v1.0.2 - #458

Merged
DevSecNinja merged 1 commit into
mainfrom
steward/bandit-v1.0.2
Nov 17, 2026
Merged

DevSecNinja merged 1 commit into
mainfrom
steward/bandit-v1.0.2

Conversation

@DevSecNinja

@DevSecNinja DevSecNinja commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Bumps DevSecNinja/python-bandit-scan from v1.0.1 to v1.0.2 (60a892a79e752ff1b425c6ebac2543a50b06fc6d). The release pins the two actions the composite action runs (actions/upload-artifact, github/codeql-action/upload-sarif) to full-length commit SHAs. Without this, the Bandit job fails once the repo requires SHA-pinned actions (DevSecNinja/repo-steward#136).

Other changes in v1.0.2: optional artifact_name and artifact_overwrite inputs (the defaults keep today's behaviour), Bandit installed with TOML support, and config_path passed as one quoted argument.

The commit was made by repo-steward (steward commit-files) and is signed by GitHub.

Closes #457

Summary by CodeRabbit

  • Chores
    • Updated the automated security scanning workflow to a newer version. The workflow’s configured inputs remain unchanged, so no user-facing behavior changes are included in this update.

Copilot AI balanced review requested due to automatic review settings November 17, 2026 07:40
@github-actions github-actions Bot added the ci/cd label Nov 17, 2026
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Bandit workflow now uses DevSecNinja/python-bandit-scan v1.0.2 at a pinned commit. The configured inputs are unchanged.

Changes: Bandit workflow

Layer / File(s) Summary
Update the action pin
.github/workflows/bandit.yml
The workflow now uses the v1.0.2 commit of the Bandit Scanner action. Configured inputs are unchanged.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other · Severity of issue fixed: Low

Suggested labels: ci/cd

Merge Risk: Minimal · up to d0ee0

This updates the Bandit scan action to v1.0.2 at a pinned commit so the workflow keeps working once SHA-pinning is required. The inputs are unchanged, and no merge-blocking risk is identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the primary change: bumping the python-bandit-scan dependency to v1.0.2 in the Bandit workflow. The only file changed is .github/workflows/bandit.yml, which switches the action revisio…
Linked Issues check Passed Issue #457 requires .github/workflows/bandit.yml to reference DevSecNinja/python-bandit-scan at 60a892a79e752ff1b425c6ebac2543a50b06fc6d (v1.0.2). The whole-PR diff against the merge base change…
Out of Scope Changes check Passed The whole-PR diff changes one line in .github/workflows/bandit.yml, the action reference. The change directly implements #457. The configured with: inputs are unchanged in the diff, so the new opt…
Full details: Title check

Explanation

The title names the primary change: bumping the python-bandit-scan dependency to v1.0.2 in the Bandit workflow. The only file changed is .github/workflows/bandit.yml, which switches the action revision from v1.0.1 to v1.0.2. The title is short, specific, and matches the objectives of PR #458 and issue #457. The 'ci:' prefix correctly describes a CI configuration change.

Full details: Linked Issues check

Explanation

Issue #457 requires .github/workflows/bandit.yml to reference DevSecNinja/python-bandit-scan at 60a892a79e752ff1b425c6ebac2543a50b06fc6d (v1.0.2). The whole-PR diff against the merge base changes the uses: line from 62d16066d02e3669359cd9b25f079d249f608c4d # v1.0.1 to 60a892a79e752ff1b425c6ebac2543a50b06fc6d # v1.0.2. This meets the only coding requirement in #457. The nested pinning of actions/upload-artifact and github/codeql-action/upload-sarif lives in the external action at that SHA. This repository does not contain that code, so this assessment relies on the issue and PR text for that claim. No other coding requirement applies. The issue's non-coding aspects (timing before the SHA-pinning setting is enabled) do not need code assessment.

Full details: Out of Scope Changes check

Explanation

The whole-PR diff changes one line in .github/workflows/bandit.yml, the action reference. The change directly implements #457. The configured with: inputs are unchanged in the diff, so the new optional artifact_name and artifact_overwrite inputs in v1.0.2 are not used here. No unrelated file or code change appears in the PR.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ebc13612-d409-45f3-ab03-4e5a10cf3518
Commits

Reviewing files that changed from the base of the PR and between 331164a and d0ee0ba.

Files selected for processing: 1

  • .github/workflows/bandit.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

License Issues

.github/workflows/bandit.yml

PackageVersionLicenseIssue Type
DevSecNinja/python-bandit-scan60a892a79e752ff1b425c6ebac2543a50b06fc6dNullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
actions/DevSecNinja/python-bandit-scan 60a892a79e752ff1b425c6ebac2543a50b06fc6d UnknownUnknown

Scanned Files

  • .github/workflows/bandit.yml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the Bandit action version and commit-SHA update.

No open issues 🎉

What changed in this PR

Updates the Bandit security-scanning action to v1.0.2 to support the repository’s upcoming SHA-pinning requirement, addressing #457.

Changes:

  • Bumps DevSecNinja/python-bandit-scan from v1.0.1 to v1.0.2 using a full commit SHA. The release pins its nested actions; existing workflow inputs remain unchanged.
File Description
.github/​workflows/​bandit.yml Updates the Bandit action’s pinned commit and version comment.

Review effort: Balanced

@DevSecNinja
DevSecNinja merged commit 16534cf into main Nov 17, 2026
27 checks passed
@DevSecNinja
DevSecNinja deleted the steward/bandit-v1.0.2 branch November 17, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: bump python-bandit-scan to v1.0.2 before SHA pinning is required

2 participants