8000 Update with fork · anzerr/catalog@f284f7e · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sync fork

Sync fork #478

Workflow file for this run

name: "Sync fork"
on:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
name: "Sync catalog"
steps:
- name: Checkout branch
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.BOT_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Fetch upstream
run: |
cd .github/workflows
npm ci
node index.js
- name: Commit changes
run: |
git config --global user.email "anzerr@users.noreply.github.com"
git config --global user.name "anzerr"
git add --all
git commit -sm "Update with fork" || exit 0
git push
0