Skip to content

fix build error and add enhancements #1

fix build error and add enhancements

fix build error and add enhancements #1

Workflow file for this run

name: Update README and LaTeX Build File
on:
workflow_dispatch:
jobs:
update-and-create-pr:
runs-on: ubuntu-latest
steps:

Check failure on line 10 in .github/workflows/update.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/update.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Run update script
run: python scripts/update_files.py
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Commit changes to a new branch
run: |
git checkout -b changes/${{ github.run_id }}
git add .
git commit -m "Apply automated updates"
git push -u origin changes/${{ github.run_id }}
- name: Create Pull Request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr create --base main --head changes/${{ github.run_id }} --title "Review automated updates" --body "Please review the changes applied by the automated script."