Skip to content

SEC-090: Automated trusted workflow pinning (2023-07-31) #70

SEC-090: Automated trusted workflow pinning (2023-07-31)

SEC-090: Automated trusted workflow pinning (2023-07-31) #70

# 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@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version-file: 'go.mod'
- run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
- run: actionlint