Skip to content

Daily Update of the Registry #808

Daily Update of the Registry

Daily Update of the Registry #808

Workflow file for this run

name: Daily Update of the Registry
on:
schedule:
- cron: "0 12 * * *"
jobs:
update-registry:
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
- run: npm ci
- run: npm test
- run: npm run-script update
- run: npm run-script normalize
- run: npm run-script flatten
- run: npm run-script did_document ${{ secrets.SIGNER_PRIVATE_KEY }}
- run: npm test
- uses: peter-evans/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
committer: GitHub <[email protected]>
commit-message: Registry updates for ${{ steps.date.outputs.date }}
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
title: Registry updates for ${{ steps.date.outputs.date }}
body: Auto-created Pull Request
branch: update-registry-${{ steps.date.outputs.date }}
delete-branch: true
labels: |
report
automated pr
assignees: vitorpamplona
reviewers: vitorpamplona