diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-10-15 15:28:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 15:28:09 +0300 |
commit | b0e60ff72b34b6bf84fdac01646a2e2da558b920 (patch) | |
tree | 738de99e2a46bab991d3619c5f6a73209f231c28 | |
parent | 1e0daa429a9672dfe5096fd9780a0fcb53fc86fe (diff) | |
parent | b4842e6a806ed82f11c28b647bc6f86d1e44c065 (diff) |
Merge pull request #662 from nextcloud/feat/workflow-auto-update-lint-php.yml
Updating lint-php.yml workflow from template
-rw-r--r-- | .github/workflows/lint-php.yml | 12 |
1 files changed, 11 insertions, 1 deletions
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 |