Skip to content

More workflow tweaks. #22

More workflow tweaks.

More workflow tweaks. #22

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: Lint workflow files
on:
pull_request:
branches:
- '**'
push:
branches:
- develop
- trunk
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
permissions:
security-events: write # Required for codeql-action/upload-sarif to upload SARIF files.
contents: read # Needed to clone the repo.
actions: read # Needed for codeql-action/upload-sarif to read workflow run info.
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-workflow-lint.yml@trunk