Skip to content

Periodic Trigger

Periodic Trigger #327

Workflow file for this run

name: Periodic Trigger
on:
schedule:
- cron: "0 8 * * *"
jobs:
periodic_trigger:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Update Submodules
run: |
git submodule update --init --recursive
git submodule foreach git pull origin main
git config --local user.email "fmelodic@gmail.com"
git config --local user.name "AndreyVnk"
git add .
git commit -m "Update submodules"
- name: Push Changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true