diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 15:05:05 +0300 |
---|---|---|
committer | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 15:05:05 +0300 |
commit | b454f05d1658e6f09ce3272bdcb884a03386ee35 (patch) | |
tree | cf2929c52eea7055ed54a59d819eefc30344d718 | |
parent | c6f614f13f1961dbeaf9f23d37a355a946aa4f7b (diff) |
Updating lint-php-cs.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
-rw-r--r-- | .github/workflows/lint-php-cs.yml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml index 9aad514..2814102 100644 --- a/.github/workflows/lint-php-cs.yml +++ b/.github/workflows/lint-php-cs.yml @@ -5,12 +5,14 @@ name: Lint -on: - pull_request: - push: - branches: - - 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: @@ -20,9 +22,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + 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" |