summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2022-10-15 10:59:22 +0000
committerNextcloud bot <bot@nextcloud.com>2022-10-15 10:59:22 +0000
commit73ec4d1990341406632cbbf096605eba3aae505e (patch)
treee3de243942d8799341108009a0a8d432497cdce0 /.github
parent6f0efac6b02c15ea7f1a3e7e9d7a09bf2b77627a (diff)
Updating lint-php.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint-php.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml
index d8694efd..62476c90 100644
--- a/.github/workflows/lint-php.yml
+++ b/.github/workflows/lint-php.yml
@@ -13,6 +13,13 @@ on:
- 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
@@ -36,6 +43,8 @@ jobs:
run: composer run lint
summary:
+ permissions:
+ contents: none
runs-on: ubuntu-latest
needs: php-lint