Skip to content

Add static check of github workflows #1

Add static check of github workflows

Add static check of github workflows #1

name: Check GitHub Workflows
on:
pull_request:
paths:
- .github/workflows/**/*.yaml
- .github/workflows/check-github-workflows.yaml
push:
paths:
- .github/workflows/**/*.yaml
- .github/workflows/check-github-workflows.yaml
jobs:
check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Check Syntax
# Disable shellcheck since it's installed on CI but maybe not on user machine,
# which can cause very confusing debugging issues.
run: go run github.com/rhysd/actionlint/cmd/[email protected] -shellcheck=