Skip to content

SEC-090: Automated trusted workflow pinning (2023-08-14) #72

SEC-090: Automated trusted workflow pinning (2023-08-14)

SEC-090: Automated trusted workflow pinning (2023-08-14) #72

# 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: 'go.mod'
- run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
- run: actionlint