diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-10-17 10:07:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 10:07:34 +0300 |
commit | 2b2fe5374fc707847ff0401d999120a82eab50a2 (patch) | |
tree | b80b7c4dc67d601b1d207511f6bce72c5e6816be | |
parent | 93c8c1885ba6fd12a827d9f3879f26c83150d975 (diff) | |
parent | a21ff4eb2acb0db18c7167df7d2e9d65d26c9956 (diff) |
Merge pull request #3051 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 494d778e..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: - - main - - 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" |