Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Commit d0bc169

Browse files
authored
build: configure generator (#3)
1 parent 0482de7 commit d0bc169

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+8915
-28
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Every request must be reviewed and accepted by:
2+
3+
* @felangel @wolfenrain @renancaraujo

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ updates:
66
schedule:
77
interval: "daily"
88
- package-ecosystem: "npm"
9-
directory: "/src/docs_site"
9+
directory: "/src/very_good_docs_site"
1010
schedule:
1111
interval: "daily"
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: generate_template
2+
3+
on:
4+
push:
5+
paths:
6+
- .github/workflows/generate_template.yaml
7+
- tool/generator/**
8+
- src/**
9+
branches:
10+
- main
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- uses: dart-lang/setup-dart@v1
19+
20+
- name: Install Dependencies
21+
working-directory: tool/generator
22+
run: dart pub get
23+
24+
- name: Generate Template
25+
run: dart tool/generator/main.dart
26+
27+
- name: Config Git User
28+
run: |
29+
git config user.name VGV Bot
30+
git config user.email [email protected]
31+
- name: Create Pull Request
32+
uses: peter-evans/[email protected]
33+
with:
34+
base: main
35+
branch: chore/generate-template
36+
commit-message: "chore: generate template"
37+
title: "chore: generate template"
38+
body: Please squash and merge me!
39+
labels: bot
40+
author: VGV Bot <[email protected]>
41+
assignees: vgvbot
42+
reviewers: felangel, renancaraujo, wolfenrain
43+
committer: VGV Bot <[email protected]>

.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ on:
44
pull_request:
55
paths:
66
- ".github/workflows/main.yaml"
7-
- "src/docs_site/**"
7+
- "src/very_good_docs_site/**"
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212

1313
defaults:
1414
run:
15-
working-directory: src/docs_site
15+
working-directory: src/very_good_docs_site
1616

1717
steps:
1818
- name: 📚 Git Checkout
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
node-version: 16.x
2525
cache: yarn
26-
cache-dependency-path: src/docs_site/yarn.lock
26+
cache-dependency-path: src/very_good_docs_site/yarn.lock
2727

2828
- name: 📦 Install Dependencies
2929
run: yarn install --frozen-lockfile
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)