Skip to content

Get comments

Get comments #1281

Workflow file for this run

name: Get comments
on:
# run once a day
schedule:
- cron: "0 0 * * *"
jobs:
get-comments:
runs-on: ubuntu-latest
environment: bot
env:
# secrets to environment variables
DISQUS_API_KEY: ${{ secrets.DISQUS_API_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: "14.x"
- name: Install packages
run: yarn install
- name: Run bot
run: yarn start
- name: Commit updated output
uses: stefanzweifel/git-auto-commit-action@v4
with:
file_pattern: "output.csv"
commit_message: "Run bot and update output"
commit_author: "Bot <>"
push_options: --force
branch: main