summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-10-17 06:48:05 +0200
committerGitHub <noreply@github.com>2022-10-17 06:48:05 +0200
commit7a1d4723cce1dd3454d4cde71471fe7a55a54659 (patch)
tree933d8e65487ddeb5cf8017dcf88fcd9498d490ce /.github
parent035b7b8791befeb742ac21e02dc5e0b6a0e2844d (diff)
parentea879220346156f43862bba83c05ea15106ea923 (diff)
Merge pull request #8179 from nextcloud/feat/workflow-auto-update-lint-php-cs.yml
Updating lint-php-cs.yml workflow from template
Diffstat (limited to '.github')
-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"