Skip to content

Bump zizmorcore/zizmor-action action to v0.4.1 #308

Bump zizmorcore/zizmor-action action to v0.4.1

Bump zizmorcore/zizmor-action action to v0.4.1 #308

Workflow file for this run

name: lint
on:
push:
branches: [ main ]
paths-ignore:
- '**/*.gitattributes'
- '**/*.gitignore'
- '**/*.md'
pull_request:
branches:
- main
- dotnet-vnext
- dotnet-nightly
workflow_dispatch:
permissions: {}
env:
FORCE_COLOR: 3
TERM: xterm
# renovate: datasource=github-releases depName=zizmor packageName=zizmorcore/zizmor
ZIZMOR_VERSION: '1.21.0'
jobs:
lint:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
filter: 'tree:0'
persist-credentials: false
show-progress: false
- name: Add actionlint problem matcher
run: echo "::add-matcher::.github/actionlint-matcher.json"
- name: Lint workflows with actionlint
uses: docker://rhysd/actionlint:1.7.10@sha256:ef8299f97635c4c30e2298f48f30763ab782a4ad2c95b744649439a039421e36
with:
args: -color
- name: Lint workflows with zizmor
uses: zizmorcore/zizmor-action@135698455da5c3b3e55f73f4419e481ab68cdd95 # v0.4.1
with:
version: ${{ env.ZIZMOR_VERSION }}
- name: Lint markdown
uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101 # v22.0.0
with:
config: '.markdownlint.json'
globs: |
**/*.md