diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-10-15 15:26:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 15:26:46 +0300 |
commit | d1ba2878b1540c0d6727ff68af3ba2134eeae022 (patch) | |
tree | 476c64db7a29ad11b6a2eea6fc24bb9bb084aa8d | |
parent | 73892639ed2b648b3e1eb85630a669d7d8ad3d5c (diff) | |
parent | 411effe081ce6d18c41a863051aa68605b4c7356 (diff) |
Merge pull request #397 from nextcloud/feat/workflow-auto-update-lint-php-cs.yml
-rw-r--r-- | .github/workflows/lint-php-cs.yml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml index 049fb19..2814102 100644 --- a/.github/workflows/lint-php-cs.yml +++ b/.github/workflows/lint-php-cs.yml @@ -5,13 +5,14 @@ name: Lint -on: - pull_request: - push: - branches: - - main - - master - - stable* +on: pull_request + +permissions: + contents: read + +concurrency: + group: lint-php-cs-${{ github.head_ref || github.run_id }} + cancel-in-progress: true jobs: lint: @@ -23,7 +24,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set up php ${{ matrix.php-versions }} + - name: Set up php uses: shivammathur/setup-php@v2 with: php-version: "7.4" |