summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-11-03 10:07:24 +0100
committerGitHub <noreply@github.com>2022-11-03 10:07:24 +0100
commitbd94067783daa2aeb7c6eb09c2494489a731d51b (patch)
tree397378d55571689f67b51575a33dd16fe34d545a /.github
parentd84514317179129e4588cbf038378e9a94dace84 (diff)
parent7316d7be9e482c485b87d92f60bd9968cde71f0d (diff)
Merge pull request #1494 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.yml17
1 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml
index 049fb194..28141020 100644
--- a/.github/workflows/lint-php-cs.yml
+++ b/.github/workflows/lint-php-cs.yml
@@ -5,13 +5,14 @@
name: Lint
-on:
- pull_request:
- push:
- branches:
- - main
- - master
- - stable*
+on: pull_request
+
+permissions:
+ contents: read
+
+concurrency:
+ group: lint-php-cs-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
jobs:
lint:
@@ -23,7 +24,7 @@ jobs:
- name: Checkout
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"