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

github.com/nextcloud/announcementcenter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-10-17 17:58:26 +0300
committerJoas Schilling <coding@schilljs.com>2022-10-17 17:58:26 +0300
commitb08d3aa35b2da558c131a52721b2eefdb5840dab (patch)
treea2e39a22b12fed21d6d0f17c7b56603b0f2d3770
parent1d6d54ccccea2592528c177875178bb0c9964493 (diff)
Bump all templates
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--.github/workflows/dependabot-approve-merge.yml4
-rw-r--r--.github/workflows/lint-eslint.yml15
-rw-r--r--.github/workflows/lint-info-xml.yml11
-rw-r--r--.github/workflows/lint-php-cs.yml18
-rw-r--r--.github/workflows/lint-php.yml18
-rw-r--r--.github/workflows/lint-stylelint.yml20
-rw-r--r--.github/workflows/node.yml12
-rw-r--r--.github/workflows/phpunit.yml11
-rw-r--r--.github/workflows/psalm.yml12
9 files changed, 62 insertions, 59 deletions
diff --git a/.github/workflows/dependabot-approve-merge.yml b/.github/workflows/dependabot-approve-merge.yml
index d408548..0a3e4d7 100644
--- a/.github/workflows/dependabot-approve-merge.yml
+++ b/.github/workflows/dependabot-approve-merge.yml
@@ -15,7 +15,7 @@ on:
permissions:
contents: read
-concurrency:
+concurrency:
group: dependabot-approve-merge-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
# for hmarr/auto-approve-action to approve PRs
- pull-requests: write
+ pull-requests: write
steps:
# Github actions bot approve
diff --git a/.github/workflows/lint-eslint.yml b/.github/workflows/lint-eslint.yml
index 5f48fb5..6874677 100644
--- a/.github/workflows/lint-eslint.yml
+++ b/.github/workflows/lint-eslint.yml
@@ -5,13 +5,14 @@
name: Lint
-on:
- pull_request:
- push:
- branches:
- - main
- - master
- - stable*
+on: pull_request
+
+permissions:
+ contents: read
+
+concurrency:
+ group: lint-eslint-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
jobs:
lint:
diff --git a/.github/workflows/lint-info-xml.yml b/.github/workflows/lint-info-xml.yml
index cea2a2b..343ba44 100644
--- a/.github/workflows/lint-info-xml.yml
+++ b/.github/workflows/lint-info-xml.yml
@@ -5,12 +5,11 @@
name: Lint
-on:
- pull_request:
- push:
- branches:
- - master
- - stable*
+on: pull_request
+
+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..9f4bad1 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,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"
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml
index 9cfb484..0509e80 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
diff --git a/.github/workflows/lint-stylelint.yml b/.github/workflows/lint-stylelint.yml
index 64edcfb..a1197f8 100644
--- a/.github/workflows/lint-stylelint.yml
+++ b/.github/workflows/lint-stylelint.yml
@@ -5,12 +5,14 @@
name: Lint
-on:
- pull_request:
- push:
- branches:
- - master
- - stable*
+on: pull_request
+
+permissions:
+ contents: read
+
+concurrency:
+ group: lint-stylelint-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
jobs:
lint:
@@ -20,17 +22,17 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Read package.json node and npm engines version
- uses: skjnldsv/read-package-engines-version-actions@v1.1
+ uses: skjnldsv/read-package-engines-version-actions@v1.2
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index 9150d1f..1584276 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -5,13 +5,11 @@
name: Node
-on:
- pull_request:
- push:
- branches:
- - main
- - master
- - stable*
+on: pull_request
+
+concurrency:
+ group: lint-node-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
permissions:
contents: read
diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml
index 8920996..4948d32 100644
--- a/.github/workflows/phpunit.yml
+++ b/.github/workflows/phpunit.yml
@@ -1,11 +1,10 @@
name: PHPUnit
-on:
- pull_request:
- push:
- branches:
- - master
- - stable*
+on: pull_request
+
+concurrency:
+ group: lint-phpunit-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
env:
APP_NAME: announcementcenter
diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml
index eb1691a..a654235 100644
--- a/.github/workflows/psalm.yml
+++ b/.github/workflows/psalm.yml
@@ -5,13 +5,11 @@
name: Static analysis
-on:
- pull_request:
- push:
- branches:
- - master
- - main
- - stable*
+on: pull_request
+
+concurrency:
+ group: psalm-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
jobs:
static-analysis: