diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-10-20 17:05:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 17:05:17 +0300 |
commit | 92514ccf1d80c32343277bb659c4291b1901bcb0 (patch) | |
tree | 104a60d116e3646af92c5edd57f0fe13971ea87b | |
parent | 562e2e4a8883c4b4273f5fc394ffd54ca6c4ba32 (diff) | |
parent | cedcc9499829cd97b78550bdd4cda9fd791f54db (diff) |
Merge pull request #964 from nextcloud/feat/workflow-auto-update-lint-php-cs.yml
Updating lint-php-cs.yml workflow from template
-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 9aad5140..28141020 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" |