USRBG #36645
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: USRBG | |
on: | |
push: | |
branches: [ main ] | |
schedule: | |
- cron: "*/5 * * * *" | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Generate a smaller USRBG json | |
run: | | |
node index.js | |
- name: Commit to the repo | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git add . | |
git commit -m 'Update USRBG files' || true | |
git push |