Skip to content

Add commit and push step to ci #12

Add commit and push step to ci

Add commit and push step to ci #12

Workflow file for this run

name: Run Python Script
on:
push:
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "poetry"
- run: poetry install
- run: poetry run python script.py
- run: |
git add -A

Check failure on line 21 in .github/workflows/hellow.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/hellow.yaml

Invalid workflow file

You have an error in your yaml syntax on line 21
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m 'Deploy'
git push