Skip to content

SEC-090: Automated trusted workflow pinning (2023-09-18) #52

SEC-090: Automated trusted workflow pinning (2023-09-18)

SEC-090: Automated trusted workflow pinning (2023-09-18) #52

# 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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- 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