More workflow tweaks. #22
This file contains hidden or 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
| # 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 |