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

github.com/nextcloud/event_update_notification.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-10-13 22:22:54 +0300
committerJoas Schilling <coding@schilljs.com>2022-10-13 22:22:54 +0300
commite9f0e5e9a86d71de48bf7bb37332800327a39458 (patch)
tree5f20285f5ec1bc6d5a4c182623ac730c6b5c908a
parent4c93c8d8447f111e78e0d5b78a2eabfedd080039 (diff)
🤖 Update CI templates
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--.github/workflows/lint-info-xml.yml15
-rw-r--r--.github/workflows/lint-php-cs.yml16
-rw-r--r--.github/workflows/lint-php.yml20
3 files changed, 29 insertions, 22 deletions
diff --git a/.github/workflows/lint-info-xml.yml b/.github/workflows/lint-info-xml.yml
index d877ee5..485ccf9 100644
--- a/.github/workflows/lint-info-xml.yml
+++ b/.github/workflows/lint-info-xml.yml
@@ -5,13 +5,14 @@
name: Lint
-on:
- pull_request:
- push:
- branches:
- - main
- - master
- - stable*
+on: pull_request
+
+permissions:
+ contents: read
+
+concurrency:
+ group: lint-info-xml-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
jobs:
xml-linters:
diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml
index 9aad514..49eeee2 100644
--- a/.github/workflows/lint-php-cs.yml
+++ b/.github/workflows/lint-php-cs.yml
@@ -5,12 +5,14 @@
name: Lint
-on:
- pull_request:
- push:
- branches:
- - 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:
@@ -20,7 +22,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
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml
index b6432a3..0509e80 100644
--- a/.github/workflows/lint-php.yml
+++ b/.github/workflows/lint-php.yml
@@ -5,25 +5,27 @@
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:
runs-on: ubuntu-latest
strategy:
matrix:
- php-versions: ["7.3", "7.4", "8.0", "8.1"]
+ php-versions: ["7.4", "8.0", "8.1"]
name: php-lint
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