Fix S3246 warning #1845
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: actions-lint | |
on: | |
push: | |
branches: [ main, release/* ] | |
paths-ignore: | |
- '**/*.gitattributes' | |
- '**/*.gitignore' | |
- '**/*.md' | |
pull_request: | |
branches: [ main, release/* ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
env: | |
FORCE_COLOR: 3 | |
TERM: xterm | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Add actionlint problem matcher | |
run: echo "::add-matcher::.github/actionlint-matcher.json" | |
- name: Lint workflows | |
uses: docker://rhysd/actionlint@sha256:5acca218639222e4afbc82fc6e9ef56cbe646ade3b07f3f5ec364b638258a244 # v1.7.0 | |
with: | |
args: -color |