Skip to content

Commit 2e311cb

Browse files
skjnldsvPytal
authored andcommitted
chore: update workflows from templates
Signed-off-by: skjnldsv <[email protected]>
1 parent fa58fd6 commit 2e311cb

File tree

3 files changed

+5
-46
lines changed

3 files changed

+5
-46
lines changed

.github/workflows/npm-audit-fix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ jobs:
5757
5858
- name: Create Pull Request
5959
if: always()
60-
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e # v5
60+
uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc # v6.0.1
6161
with:
6262
token: ${{ secrets.COMMAND_BOT_PAT }}
63-
commit-message: "chore(deps): fix npm audit"
63+
commit-message: "fix(deps): fix npm audit"
6464
committer: GitHub <[email protected]>
6565
author: nextcloud-command <[email protected]>
6666
signoff: true

.github/workflows/psalm.yml

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,10 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
jobs:
15-
changes:
16-
runs-on: ubuntu-latest-low
17-
18-
outputs:
19-
src: ${{ steps.changes.outputs.src}}
20-
21-
steps:
22-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
23-
id: changes
24-
continue-on-error: true
25-
with:
26-
filters: |
27-
src:
28-
- '.github/workflows/**'
29-
- 'appinfo/**'
30-
- 'lib/**'
31-
- 'templates/**'
32-
- 'tests/**'
33-
- 'vendor/**'
34-
- 'vendor-bin/**'
35-
- '.php-cs-fixer.dist.php'
36-
- 'composer.json'
37-
- 'composer.lock'
38-
39-
psalm-static-analysis:
15+
static-analysis:
4016
runs-on: ubuntu-latest
4117

42-
needs: [changes]
43-
if: needs.changes.outputs.src != 'false'
44-
45-
name: psalm-static-analysis
18+
name: static-psalm-analysis
4619
steps:
4720
- name: Checkout
4821
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
@@ -66,17 +39,3 @@ jobs:
6639

6740
- name: Run coding standards check
6841
run: composer run psalm
69-
70-
static-analysis:
71-
permissions:
72-
contents: none
73-
runs-on: ubuntu-latest-low
74-
needs: [changes, psalm-static-analysis]
75-
76-
if: always()
77-
78-
name: static-psalm-analysis
79-
80-
steps:
81-
- name: Summary status
82-
run: if ${{ needs.changes.outputs.src != 'false' && needs.psalm-static-analysis.result != 'success' }}; then exit 1; fi

.github/workflows/update-nextcloud-ocp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100

101101
- name: Create Pull Request
102102
if: steps.checkout.outcome == 'success'
103-
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e # v3
103+
uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc # v6.0.1
104104
with:
105105
token: ${{ secrets.COMMAND_BOT_PAT }}
106106
commit-message: "chore(dev-deps): Bump nextcloud/ocp package"

0 commit comments

Comments
 (0)