Skip to content

Year

Year #1089

Workflow file for this run

name: Year
on:
schedule:
# 10 past the hour, every 24 hours
# https://crontab.guru/#10_6_*_*_*
- cron: 10 6 * * *
jobs:
year:
if: >-
!github.event.repository.fork
runs-on: ubuntu-latest
steps:
# setup
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm install
# run query
- run: node snapshots.js year 366
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# commit changes
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Every 24 hours snapshot
commit_user_name: Conda Bot
commit_user_email: [email protected]
commit_author: Conda Bot <[email protected]>