diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 14:07:12 +0300 |
---|---|---|
committer | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 14:07:12 +0300 |
commit | 3185f845f84f630512a8d804d841be4fb73e82c1 (patch) | |
tree | 2db039a5fffc20d9a71de88f46d16dfddc6286aa | |
parent | 299c461fbb7ef5ece163726ea7e05850c444ddec (diff) |
Updating lint-php.yml workflow from template
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 7be6843..62476c9 100644 --- a/.github/workflows/lint-php.yml +++ b/.github/workflows/lint-php.yml @@ -9,21 +9,29 @@ on: pull_request: 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"] + 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 |