summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2022-10-15 11:00:23 +0000
committerJoas Schilling <coding@schilljs.com>2022-10-17 06:36:56 +0200
commit3a0fa5af05cde097efc2a270c80fcdce32087ab6 (patch)
treedad1668a2eb70c19a489b9f61c88eff12c0edb95 /.github/workflows
parentf8bbdc97638f696f7c8aa2df0c8650c342750d24 (diff)
Updating lint-php.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/lint-php.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml
index a19e22871..0509e800e 100644
--- a/.github/workflows/lint-php.yml
+++ b/.github/workflows/lint-php.yml
@@ -5,8 +5,10 @@
name: Lint
-on:
- pull_request:
+on: pull_request
+
+permissions:
+ contents: read
concurrency:
group: lint-php-${{ github.head_ref || github.run_id }}
@@ -23,7 +25,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 +37,8 @@ jobs:
run: composer run lint
summary:
+ permissions:
+ contents: none
runs-on: ubuntu-latest
needs: php-lint