diff options
author | Nextcloud bot <bot@nextcloud.com> | 2022-10-15 12:59:13 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2022-10-19 14:33:26 +0300 |
commit | 5d7c47559cd46b18fb75701b0e0746eabb00d621 (patch) | |
tree | 31f28323aa417acd56e439490c59353b0ee4b509 | |
parent | ede9ee7bb1bd50516bb47c21e47129b4bb2d3e66 (diff) |
Updating lint-php.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
-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 9cfb484e..62476c90 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 |