Implementation update #3517
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: 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 | |