Files
super-linter-workflow/.github/workflows/call-local-super-linter.yaml
2023-03-05 18:30:27 -05:00

29 lines
643 B
YAML

---
# THIS IS NOT A TEMPLATE.
# This is just for linting the gha-workflows repo itself.
# We call the reusable workflow from its file path.
name: Lint
on:
push:
branches:
- main
pull_request:
# cancel any previously-started, yet still active runs of this workflow on the same branch
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
call-super-linter:
name: Call Super-Linter
uses: ./.github/workflows/reusable-super-linter.yaml
permissions:
contents: read # clone the repo to lint
statuses: write #read/write to repo custom statuses