Skip to content

Implementation update #3482

Implementation update

Implementation update #3482

name: Implementation update
on:
workflow_dispatch:
schedule:
# Run every 6 hours, starting UTC midnight
- cron: '0 0,6,12,18 * * *'
jobs:
implementation-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/cache@v3
with:
path: "node_modules"
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
## Make sure we have the latest act-tools
- run: npm install act-tools
- run: node ./.github/scripts/implementation-update.mjs
- name: Commit and push
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} # add as PAT (https://github.com/settings/tokens) as a secret
run: |
git config user.name github-actions
git config user.email [email protected]
npx zx ./.github/scripts/commit-and-push.mjs