Skip to content

fetch bot

fetch bot #11203

Workflow file for this run

name: fetch bot
on:
push:
branches:
- main
schedule:
- cron: "1 * * * 1" # See https://crontab.guru/#0_7,9,11_*_*_1,3
jobs:
fetch-bellshadebot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- name: Modify last update
run: |
d=`date '+%Y-%m-%dT%H:%M:%SZ'`
echo $d > LAST_UPDATED
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "bellshadebot"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git add -A
git commit -am "feat: update fetch"
git push
# - name: GitHub Push
# uses: ad-m/[email protected]
# with:
# force: true
# directory: "."
# github_token: ${{ secrets.GITHUB_TOKEN }}