summaryrefslogtreecommitdiffstats
path: root/.github/workflows/lint-php-cs.yml
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2022-10-15 12:12:51 +0000
committerJoas Schilling <coding@schilljs.com>2022-10-17 06:38:19 +0200
commitea879220346156f43862bba83c05ea15106ea923 (patch)
tree229e866ae845705109668a2b40c10a8826f0567b /.github/workflows/lint-php-cs.yml
parentf8bbdc97638f696f7c8aa2df0c8650c342750d24 (diff)
Updating lint-php-cs.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Diffstat (limited to '.github/workflows/lint-php-cs.yml')
-rw-r--r--.github/workflows/lint-php-cs.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml
index 425443dab..9f4bad17a 100644
--- a/.github/workflows/lint-php-cs.yml
+++ b/.github/workflows/lint-php-cs.yml
@@ -5,8 +5,10 @@
name: Lint
-on:
- pull_request:
+on: pull_request
+
+permissions:
+ contents: read
concurrency:
group: lint-php-cs-${{ github.head_ref || github.run_id }}
@@ -20,9 +22,9 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- - name: Set up php ${{ matrix.php-versions }}
+ - name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: "7.4"