diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 12:11:58 +0000 |
---|---|---|
committer | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 12:11:58 +0000 |
commit | 7316d7be9e482c485b87d92f60bd9968cde71f0d (patch) | |
tree | 079f9b97ef73fbc744a7d480fe6e0026a171b8e0 /.github | |
parent | 6f0efac6b02c15ea7f1a3e7e9d7a09bf2b77627a (diff) |
Updating lint-php-cs.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to '.github')
-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 049fb194..28141020 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" |