Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/activity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-10-20 17:06:05 +0300
committerGitHub <noreply@github.com>2022-10-20 17:06:05 +0300
commit5ce9b84c4950307b3fa6e1edee3c8e517a5e2616 (patch)
treee09a2174abf2d6d56b720c7e6dc457b8063b8ad1
parent92514ccf1d80c32343277bb659c4291b1901bcb0 (diff)
parent7b455c3c90125c7d9d524efb7c4dd9e52066d6a1 (diff)
Merge pull request #963 from nextcloud/feat/workflow-auto-update-lint-php.yml
Updating lint-php.yml workflow from template
-rw-r--r--.github/workflows/lint-php.yml18
1 files changed, 11 insertions, 7 deletions
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml
index 9cfb484e..738bc993 100644
--- a/.github/workflows/lint-php.yml
+++ b/.github/workflows/lint-php.yml
@@ -5,12 +5,14 @@
name: Lint
-on:
- pull_request:
- push:
- branches:
- - master
- - stable*
+on: pull_request
+
+permissions:
+ contents: read
+
+concurrency:
+ group: lint-php-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
jobs:
php-lint:
@@ -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