Skip to content

[6.x] Consistent read only states #3755

[6.x] Consistent read only states

[6.x] Consistent read only states #3755

name: Lint code style issues
on:
pull_request:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-code-styling: # zizmor: ignore[anonymous-definition]
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6
with:
files: |
**.php
- name: Check PHP code style issues
if: steps.changed-files.outputs.any_modified == 'true'
uses: aglipanci/laravel-pint-action@36de00d5f5a8a4e12d443e01671daa12a18f4c79 # 2.6
with:
testMode: true
verboseMode: true
pintVersion: 1.16.0
- name: Check Statamic\trans imports
run: bash scripts/check-trans-import.sh