Skip to content

Commit 95149d6

Browse files
committed
Add frontend dependency update workflows
Adds two scheduled workflows that consume the reusable pnpm dependency-update workflow from equinor/armada and open a PR with the result: - Monthly pnpm update (1st of each month) - Weekday pnpm audit --fix (Mon-Fri 06:05 UTC, plus push to main) Resolves: #359
1 parent 438fa33 commit 95149d6

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Frontend dependency security fix and create PR
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
schedule:
9+
- cron: "5 6 * * 1-5" # At 06:05 on every day-of-week from Monday through Friday
10+
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
15+
jobs:
16+
audit-fix:
17+
permissions:
18+
contents: write
19+
pull-requests: write
20+
uses: equinor/armada/.github/workflows/pnpm_dependency_update_and_create_pr.yml@main
21+
with:
22+
working-directory: frontend
23+
node-version: "24"
24+
operation: audit-fix
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Monthly frontend dependency update and create PR
2+
3+
on:
4+
schedule:
5+
- cron: "0 8 1 * *" # 08:00 UTC on the 1st of every month
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
update:
14+
permissions:
15+
contents: write
16+
pull-requests: write
17+
uses: equinor/armada/.github/workflows/pnpm_dependency_update_and_create_pr.yml@main
18+
with:
19+
working-directory: frontend
20+
node-version: "24"
21+
operation: update

0 commit comments

Comments
 (0)