Skip to content

added github token

added github token #24

Workflow file for this run

name: Update README
env:
TOKEN: $({ secrets.UPDATE_TOKEN })
GIT_TOKEN: $({ secrets.GITHUB_TOKEN })
on:
push:
schedule:
- cron: '* 0 * * *'
workflow_dispatch:
jobs:
build-and-update:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/[email protected]
- name: Setup node
uses: actions/[email protected]
- name: Install dependencies
run: npm install
- name: Update readme
run: node src/get_commits.mjs
- name: Commit if changed
run: bash src/commit.bash