Skip to content

Workflow file for this run

name: Test Push
on:
workflow_dispatch:
jobs:
push:
runs-on: ubuntu-latest
- name: push

Check failure on line 7 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
run: |
mkdir content
cd content
echo $(date) > a.txt
git init .
git switch -c bot
git remote add origin https://x-access-token:${{ secrets.TOKEN }}@github.com/${{ github.repository }}
git commit -m "Auto commit"
git push origin bot --force