diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-10-17 10:08:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 10:08:06 +0300 |
commit | 84a896e5202beae5f0d2769387a90568c25f6ad3 (patch) | |
tree | 3f881861aad4c176916a2e1d4d182a9d94881e20 | |
parent | 981caaf3dc11d287020404d6274bc469d7faf812 (diff) | |
parent | ac029d42b19b2bb2d24d4d6197208ad91bdac57a (diff) |
Merge pull request #1287 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 | 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" |