Skip to content

SEC-090: Automated trusted workflow pinning (2024-11-18) #135

SEC-090: Automated trusted workflow pinning (2024-11-18)

SEC-090: Automated trusted workflow pinning (2024-11-18) #135

# Continuous integration handling for GitHub Actions workflows
name: ci-github-actions
on:
pull_request:
paths:
- .github/workflows/*.yml
permissions:
contents: read
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: 'go.mod'
- run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
- run: actionlint