Skip to content

Commit 3a1b729

Browse files
authored
Create upgrade-trunk.yml
1 parent c29a3a3 commit 3a1b729

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Upgrade Trunk
2+
3+
on:
4+
schedule:
5+
- cron: 0 22 * * 0-4
6+
workflow_dispatch: {}
7+
8+
permissions:
9+
contents: write # For trunk to create PRs
10+
pull-requests: write # For trunk to create PRs
11+
12+
jobs:
13+
trunk_upgrade:
14+
name: Upgrade Trunk
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v3
19+
- name: Trunk Upgrade
20+
uses: trunk-io/trunk-action/upgrade@v1

0 commit comments

Comments
 (0)