Skip to content

Commit 41be3cd

Browse files
authored
Merge pull request #1185 from nextcloud/feat/workflow-auto-update-npm-audit-fix.yml
2 parents c9b2dd4 + 00492a7 commit 41be3cd

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
branches: ['main', 'master', 'stable31', 'stable30', 'stable29']
27+
branches:
28+
- ${{ github.event.repository.default_branch }}
29+
- 'stable31'
30+
- 'stable30'
2831

2932
name: npm-audit-fix-${{ matrix.branches }}
3033

@@ -45,7 +48,7 @@ jobs:
4548
fallbackNpm: '^10'
4649

4750
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
48-
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
51+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
4952
with:
5053
node-version: ${{ steps.versions.outputs.nodeVersion }}
5154

@@ -54,7 +57,7 @@ jobs:
5457

5558
- name: Fix npm audit
5659
id: npm-audit
57-
uses: nextcloud-libraries/npm-audit-action@2a60bd2e79cc77f2cc4d9a3fe40f1a69896f3a87 # v0.1.0
60+
uses: nextcloud-libraries/npm-audit-action@1b1728b2b4a7a78d69de65608efcf4db0e3e42d0 # v0.2.0
5861

5962
- name: Run npm ci and npm run build
6063
if: steps.checkout.outcome == 'success'
@@ -66,7 +69,7 @@ jobs:
6669
6770
- name: Create Pull Request
6871
if: steps.checkout.outcome == 'success'
69-
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
72+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
7073
with:
7174
token: ${{ secrets.COMMAND_BOT_PAT }}
7275
commit-message: 'fix(deps): Fix npm audit'

0 commit comments

Comments
 (0)