diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-10-15 15:27:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 15:27:11 +0300 |
commit | bad0502ba9eebb3dea783f1f355e959f0673c7b7 (patch) | |
tree | 1e13757d15da9b7c236330059c2dcd3a7cfe6286 | |
parent | c7dd32136b59e2a4283e8ef33fd08aa3e8d9661a (diff) | |
parent | 6263a3455dc5715420575938e6d95613de00df48 (diff) |
Merge pull request #404 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" |