diff options
Diffstat (limited to '.github/workflows/phpcs.yml')
-rw-r--r-- | .github/workflows/phpcs.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index 169942b071..126a30eff9 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -2,6 +2,18 @@ name: PHPCS check on: pull_request +permissions: + actions: read + checks: read + contents: read + deployments: none + issues: read + packages: none + pull-requests: read + repository-projects: none + security-events: none + statuses: read + jobs: phpcs: name: PHPCS @@ -11,7 +23,7 @@ jobs: - name: Install dependencies run: composer install --dev --prefer-dist --no-progress --no-suggest - name: PHPCS check - uses: chekalsky/phpcs-action@v1 + uses: chekalsky/phpcs-action@e269c2f264f400adcda7c6b24c8550302350d495 with: phpcs_bin_path: './vendor/bin/phpcs' enable_warnings: true
\ No newline at end of file |