Skip to content

Commit c288185

Browse files
authored
ci: add update_cli_bundles (#881)
1 parent 535601a commit c288185

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: update_cli_bundles
2+
3+
on:
4+
schedule:
5+
# weekly on mondays at 8 am utc
6+
- cron: '0 8 * * 1'
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/[email protected]
14+
15+
- uses: dart-lang/setup-dart@v1
16+
17+
- name: Install mason
18+
run: dart pub global activate mason_cli
19+
20+
- name: Bump templates
21+
run: tool/generate_bundles.sh
22+
23+
- name: Config Git User
24+
run: |
25+
git config user.name VGV Bot
26+
git config user.email [email protected]
27+
28+
- name: Create Pull Request
29+
uses: peter-evans/[email protected]
30+
with:
31+
base: main
32+
branch: feat/bump-template-bundles
33+
commit-message: "feat: update cli bundles"
34+
title: "feat(dart_frog_cli): update cli bundles"
35+
body: Please squash and merge me!
36+
labels: bot
37+
author: VGV Bot <[email protected]>
38+
assignees: vgvbot
39+
committer: VGV Bot <[email protected]>

0 commit comments

Comments
 (0)