diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 14:54:22 +0300 |
---|---|---|
committer | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 14:54:22 +0300 |
commit | 97651103bf48c39d9465423a1dfd4fc367bc24b6 (patch) | |
tree | ac59453ee66c28e4cc228c4df0972bf9a380064b | |
parent | d0e24d800607c4ad32f364c04d66ae48f6db4ae2 (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 | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml index eb236b7..2814102 100644 --- a/.github/workflows/lint-php-cs.yml +++ b/.github/workflows/lint-php-cs.yml @@ -5,17 +5,15 @@ 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: runs-on: ubuntu-latest @@ -26,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" |