diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-10-17 12:23:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 12:23:43 +0300 |
commit | b9a9608c4513da3f3606e8fb3681ca4aa3ca2038 (patch) | |
tree | 296740b549b169be02c00ecb02118cc5bdd52b4f /.github | |
parent | 03496fe5bc8841d05df7276ad384c61030b7894e (diff) | |
parent | e08429b52f17bf778d3ea3633b83e37e0efca1a5 (diff) |
Merge pull request #213 from nextcloud/feat/workflow-auto-update-lint-php-cs.yml
Updating lint-php-cs.yml workflow from template
Diffstat (limited to '.github')
-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 9aad514..2814102 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" |