diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-10-15 15:27:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 15:27:57 +0300 |
commit | 43dad81503341d9858a003e23812debba86022fc (patch) | |
tree | b9ca0adbd51452f949c44464a5cdb18a039385bf | |
parent | 13e813fdc881a8353e77ad85735cda03f709d2b0 (diff) | |
parent | 58a6d6cbd7e17e7fb5787193948b230b1a2a880e (diff) |
Merge pull request #796 from nextcloud/feat/workflow-auto-update-lint-php.yml
-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 |