-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (35 loc) · 941 Bytes
/
script.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: GoTgramBot
on:
workflow_dispatch: {}
schedule:
- cron: '0 0 * * *'
jobs:
build:
name: GoTGramBot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install dependencies
run: >
pip install --upgrade pip setuptools wheel
pip install -r scripts/requirements.txt
- name: Generate go files
run: python scripts/build.py
- name: Open Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: >
Generated methods and types for GoTGramBot
title: >
Updated Methods and types for the lib
body: >
This is an automated PR.
branch: automated-build
reviewers: Anandpskerala
assignees: Anandpskerala
labels: automated
delete-branch: true