Files
sysvinit-service-generator/.github/workflows/pr-lint.yml

36 lines
828 B
YAML

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: PR Lint
on:
pull_request:
branches: [master, main]
env: # Comment env block if you don't want to apply fixes
# Apply linter fixes configuration
APPLY_FIXES: all
APPLY_FIXES_EVENT: all
APPLY_FIXES_MODE: commit
SARIF_REPORTER: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
packages: read
pull-requests: write
security-events: write
statuses: write
steps:
# https://github.com/ivuorinen/actions
- uses: ivuorinen/actions/pr-lint@abe24f85700ccc1ee47e70f4ebcf49d97ec60ce9 # v2025.11.28