name: Generating full.txt on: [push] jobs: pre: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 with: token: ${{ secrets.GH_TOKEN }} - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.8' - name: Run autofull.py run: python3 autofull.py - name: Commit changes run: | git config --global user.name "GitHub Actions" git config --global user.email "actions@github.com" git add full.txt git commit -m "Update full.txt" || echo "No changes to commit" git push