This repository has been archived on 2023-09-08. You can view files and clone it, but cannot push or open issues or pull requests.
moxplatform/.github/workflows/generate_template.yaml
2022-04-12 13:11:28 -05:00

45 lines
1.1 KiB
YAML

name: generate_template
on:
push:
paths:
- tool/generator/**
- app/**
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
- name: Install Dependencies
working-directory: tool/generator
run: dart pub get
- name: Generate Template
run: dart ./tool/generator/main.dart
- name: Config Git User
run: |
git config user.name VGV Bot
git config user.email vgvbot@users.noreply.github.com
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.6.0
with:
base: main
branch: chore/generate-template
commit-message: "chore: generate template"
title: "chore: generate template"
body: Please squash and merge me!
labels: bot
author: VGV Bot <vgvbot@users.noreply.github.com>
assignees: vgvbot
reviewers: felangel
committer: VGV Bot <vgvbot@users.noreply.github.com>