forked from AyudaEnPython/AyudaEnPython
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 831 Bytes
/
main.yml
File metadata and controls
35 lines (34 loc) · 831 Bytes
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
name: Ayuda en Python CI
on:
push:
paths:
- "_readme/**"
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute main py script
run: python main.py
- name: setup git config
run: |
git config user.name "AyudaEnPython BOT"
git config user.mail "<>"
- name: commit files
run: |
git add -A
git commit -m "update: readme" -a
- name: push changes
run: |
git push origin main