Skip to content

Add advanced-security input to zizmor workflow #565

Add advanced-security input to zizmor workflow

Add advanced-security input to zizmor workflow #565

Workflow file for this run

name: CI
on:
push:
tags-ignore:
- "**"
branches:
- main
pull_request:
types:
- opened
- synchronize
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
actionlint:
name: Lint GitHub workflows
uses: ./.github/workflows/actionlint.yml
zizmor:

Check failure on line 26 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 26, Col: 3): Error calling workflow 'smallstep/workflows/.github/workflows/zizmor.yml@9360f0849f20512f3fd5afb46c7ea34f7f1d2d3b'. The nested job 'zizmor' is requesting 'security-events: write', but is only allowed 'security-events: none'.
name: Scan GitHub workflows
uses: ./.github/workflows/zizmor.yml
frizbee:
name: Check action pinning
uses: ./.github/workflows/frizbee.yml
lint-dummy-app: # NOTE(@azazeal): this check is here to verify that .golangci.yml is valid
name: Lint dummy app
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
- name: Run Linter
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
working-directory: lintapp
version: latest
verify: true
args: --config=../.golangci.yml