67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
name: GitHub Actions Security
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
merge_group:
|
|
schedule:
|
|
- cron: "11 3 * * 1"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
actionlint:
|
|
name: actionlint
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: actionlint handwritten workflows
|
|
uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8
|
|
with:
|
|
files: >-
|
|
.github/workflows/actions-security.yml,
|
|
.github/workflows/ci.yml,
|
|
.github/workflows/interop-netem.yml,
|
|
.github/workflows/osv-scanner.yml,
|
|
.github/workflows/rust-clippy.yml,
|
|
.github/workflows/semver.yml,
|
|
.github/workflows/supply-chain.yml
|
|
|
|
- name: actionlint generated release workflow
|
|
uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8
|
|
with:
|
|
files: .github/workflows/release.yml
|
|
shellcheck: false
|
|
zizmor:
|
|
name: zizmor
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
|
|
permissions:
|
|
contents: read
|
|
actions: read
|
|
security-events: write
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Run zizmor
|
|
uses: zizmorcore/zizmor-action@6599ee8b7a49aef6a770f63d261d214911a7ce02 # v0.6.0
|
|
with:
|
|
persona: regular
|