Skip to content

fetch bot

fetch bot #10753

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 "bellshade07@gmail.com"
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/github-push-action@v0.5.0
# with:
# force: true
# directory: "."
# github_token: ${{ secrets.GITHUB_TOKEN }}