summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2022-10-15 15:08:53 +0000
committerNextcloud bot <bot@nextcloud.com>2022-10-15 15:08:53 +0000
commit3cfb0597888a9eb31e7a2224de5d994c81e6e773 (patch)
treea315324bc8bc69c73ac2741c0cc5c8cf71a015a1
parent728193db26a7d37c9def03e4a7ce87bcbbeb036a (diff)
Updating psalm.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
-rw-r--r--.github/workflows/psalm.yml14
1 files changed, 12 insertions, 2 deletions
diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml
index 00cc1cc1..dc4d05d4 100644
--- a/.github/workflows/psalm.yml
+++ b/.github/workflows/psalm.yml
@@ -1,3 +1,8 @@
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
name: Static analysis
on:
@@ -5,13 +10,18 @@ on:
push:
branches:
- master
+ - main
- stable*
+concurrency:
+ group: psalm-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
+
jobs:
- static-psalm-analysis:
+ static-analysis:
runs-on: ubuntu-latest
- name: Nextcloud ${{ matrix.ocp-version }}
+ name: Nextcloud
steps:
- name: Checkout
uses: actions/checkout@v3