diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 13:00:34 +0300 |
---|---|---|
committer | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 13:00:34 +0300 |
commit | 81429daa52bdf71bc8868c06d935a883be8537c0 (patch) | |
tree | 4c2758ab7835ff95e22c861c9daca5160630a433 | |
parent | 8b77bb04bdcaf299ba37f02cc32781650faac31b (diff) |
Updating lint-php.yml workflow from templatefeat/workflow-auto-update-lint-php.yml
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
-rw-r--r-- | .github/workflows/lint-php.yml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml index af3215b9..62476c90 100644 --- a/.github/workflows/lint-php.yml +++ b/.github/workflows/lint-php.yml @@ -10,20 +10,28 @@ on: push: branches: - main + - master - stable* +permissions: + contents: read + +concurrency: + group: lint-php-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: php-lint: runs-on: ubuntu-latest strategy: matrix: - php-versions: ["7.4", "8.0", "8.1", "8.2"] + php-versions: ["7.4", "8.0", "8.1"] name: php-lint steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up php ${{ matrix.php-versions }} uses: shivammathur/setup-php@v2 @@ -35,6 +43,8 @@ jobs: run: composer run lint summary: + permissions: + contents: none runs-on: ubuntu-latest needs: php-lint |