From 85e0ba5808af1c6890ff474e4d00af10ec466b08 Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Sat, 15 Oct 2022 10:12:08 +0000 Subject: Updating lint-php.yml workflow from template Signed-off-by: Nextcloud bot --- .github/workflows/lint-php.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml index 9cfb484..62476c9 100644 --- a/.github/workflows/lint-php.yml +++ b/.github/workflows/lint-php.yml @@ -9,9 +9,17 @@ 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 @@ -23,7 +31,7 @@ jobs: 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 -- cgit v1.2.3