diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-12-15 16:39:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 16:39:16 +0100 |
commit | 7825878f9595f1375d720063e358ed7d903bc887 (patch) | |
tree | 5d610b84b9dbbc700d7ba9da8e78e442ca870483 | |
parent | bfb10a776802e3faba749f206349ecbdcebfdf1f (diff) | |
parent | 69066a5687e6849dc01cbcb83a2e8eccd4abbc91 (diff) |
Merge pull request #3049 from nextcloud/feat/workflow-auto-update-lint-php.yml
Updating lint-php.yml workflow from template
-rw-r--r-- | .github/workflows/lint-php.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml index af3215b9..4d96f604 100644 --- a/.github/workflows/lint-php.yml +++ b/.github/workflows/lint-php.yml @@ -10,8 +10,16 @@ on: push: branches: - main + - master - stable* +permissions: + contents: read + +concurrency: + group: lint-php-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: php-lint: runs-on: ubuntu-latest @@ -23,7 +31,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up php ${{ matrix.php-versions }} uses: shivammathur/setup-php@v2 @@ -35,6 +43,8 @@ jobs: run: composer run lint summary: + permissions: + contents: none runs-on: ubuntu-latest needs: php-lint |