Closed lswlover2579 closed 3 years ago
I just fix it by correct use user/repo....
Do you have still that issue?
Could you provide your workflow file?
No I’m over it I’ll put the file when I free
Are yo use private repository? Did you pass GitHub Token?
public and have used token
`name: VideoParse2
on:
workflow_dispatch: schedule:
cron: '0 4,16 *' watch: type: [started]
jobs:
build:
runs-on: ubuntu-latest
steps:
uses: actions/checkout@v2
name: 'Set up Python' uses: actions/setup-python@v1 with: python-version: 3.8
name: 'Install requirements' run: pip install -r ./requirements.txt
name: '运行【VideoParse】' run: python3 VideoParse.py
name: 'Commit files' run: | git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" git config --local user.name "$GITHUB_ACTOR" git add . git status git commit -m "PUSH TO Add changes" -a git push -f https://${{ secrets.PAT }}@github.com/lswlover2579/PyCrawlers.git
name: 'Push changes' uses: ad-m/github-push-action@master with: github_token: ${{ secrets.PAT }} branch: ${{ github.head_ref }}` I have a doubt. how to modify when i need the commit files reset instead of merge of same name repo file previous created? i don't really know git please show code thx
lol
I read a llittle git tutorial and finally kick the question!
why this?how to solve?