diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-10-20 23:41:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 23:41:44 +0300 |
commit | 781dcc3dbef380cc468f92d11cb95a4e7c4d059a (patch) | |
tree | 89716676cdace0847584d00c20d6586101992245 | |
parent | d9685fcf699cd91cca6e3c08ee9f72c701e88e68 (diff) | |
parent | 4891d1d6d2c7864b5024e2a4d8e04e836ebf5edc (diff) |
Merge pull request #119 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 b6432a3..674c069 100644 --- a/.github/workflows/lint-php.yml +++ b/.github/workflows/lint-php.yml @@ -9,9 +9,17 @@ on: pull_request: 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 |