This repository has been archived by the owner on Jul 2, 2023. It is now read-only.
SCHEDULED WORKFLOW 0 12 * * * #309
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SCHEDULED WORKFLOW 0 12 * * * | |
on: | |
schedule: | |
- cron: "0 12 * * *" | |
workflow_dispatch: | |
env: | |
cron: "0 12 * * *" | |
token: ${{ secrets.BOT_TOKEN }} | |
jobs: | |
run: | |
name: Run | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.2.0 | |
with: | |
ref: ${{ github.ref }} | |
token: ${{ secrets.TOKEN }} | |
- name: Setup Node.JS | |
uses: actions/setup-node@v3.5.1 | |
with: | |
node-version: "16.13.0" | |
cache: "npm" | |
- name: Install | |
run: npm install | |
- name: Run | |
run: node src/run.js | |
- name: Commit | |
uses: stefanzweifel/git-auto-commit-action@v4.16.0 | |
with: | |
commit_message: "Updates from 0 12 * * *" | |
branch: ${{ github.head_ref }} |