chore(deps): bump aws-actions/closed-issue-message from 80edfc24bdf1283400eb04d20a8a605ae8bf7d48 to 37548691e7cc75ba58f85c9f873f9eee43590449 #2369
Workflow file for this run
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
name: Lockdown untrusted workflows | |
# PROCESS | |
# | |
# 1. Scans for any external GitHub Action being used without version pinning (@<commit-sha> vs @v3) | |
# 2. Scans for insecure practices for inline bash scripts (shellcheck) | |
# 3. Fail CI and prevent PRs to be merged if any malpractice is found | |
# USAGE | |
# | |
# Always triggered on new PR, PR changes and PR merge. | |
on: | |
push: | |
paths: | |
- ".github/workflows/**" | |
pull_request: | |
paths: | |
- ".github/workflows/**" | |
permissions: | |
contents: read | |
jobs: | |
enforce_pinned_workflows: | |
name: Harden Security | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read # checkout code and subsequently GitHub action workflows | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Ensure 3rd party workflows have SHA pinned | |
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@38608ef4fb69adae7f1eac6eeb88e67b7d083bfd # v3.0.16 | |
with: | |
allowlist: | | |
slsa-framework/slsa-github-generator | |
aws-powertools/actions |