Files
phpenv.fish/.github/workflows/pr-lint.yml
Ismo Vuorinen 35634af17e chore: linting updates, fixes (#85)
* chore: linting fixes

* chore(deps): update github workflows

* fix(ci): pr-lint permissions

* fix(ci): add missing UID

* fix(ci): pr-lint permissions

* fix(ci): cr tweak
2025-11-28 16:49:12 +02:00

44 lines
1.0 KiB
YAML

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Lint Code Base
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
Linter:
name: PR Lint
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: write
issues: write
packages: read
pull-requests: write
statuses: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: true
- name: Run PR Lint
# https://github.com/ivuorinen/actions
uses: ivuorinen/actions/pr-lint@e58465e5d305c3dcdd6e3b788e2b683dc706ea9e # v25.11.25
with:
username: 'github-actions'
email: 'github-actions@github.com'
token: ${{ secrets.GITHUB_TOKEN }}