FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(ci): pin reusable workflow actions to SHA, bump to v7 and document the pinning policy by rajnisht7 · Pull Request #37 · agentrust-io/.github · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .md  (1) .yml  (1) All 2 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
6 changes: 3 additions & 3 deletions .github/workflows/reusable-python-security.yml
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
Expand Up @@ -11,8 +11,8 @@ jobs:
static-and-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # TODO: pin to commit SHA before merge
- uses: actions/setup-python@v5 # TODO: pin to commit SHA before merge
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "${{ inputs.python-version }}"
- run: pip install ruff mypy bandit pip-audit cyclonedx-bom
Expand All @@ -26,7 +26,7 @@ jobs:
run: pip-audit
- name: SBOM (CycloneDX)
run: cyclonedx-py environment -o sbom.json || true
- uses: actions/upload-artifact@v4 # TODO: pin to commit SHA before merge
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: sbom
path: sbom.json
4 changes: 2 additions & 2 deletions docs/security-baseline.md
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
Expand Up @@ -25,6 +25,6 @@ Each repo should also carry, matching cmcp / ca2a / agent-manifest:

Copy-paste versions of these, plus the org-level settings (secret scanning, push protection, Dependabot alerts, and the branch-protection ruleset), are in the internal security hardening bundle.

## Note
## Action pinning

All third-party actions must be pinned to a commit SHA before merge. The reusable workflow currently uses version tags marked with `TODO`.
All actions first-party (`actions/*`) and third-party (e.g. `anchore/sbom-action`) are pinned to a commit SHA with a `# vX.Y.Z` comment for readability. This applies org-wide; see `reusable-python-security.yml` and `sbom.yml` in cmcp / ca2a / trace-spec for the pattern. When bumping a version, update both the SHA and the comment together.
Loading

Back | FazBrowse Home | New Git URL