Update Generated Data #3707
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
on: | |
schedule: | |
- cron: '0 0 * * *' | |
name: Update Generated Data | |
jobs: | |
update-generated-data: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- uses: tibdex/github-app-token@v1 | |
id: generate-token | |
with: | |
app_id: ${{ secrets.BOOSTPORT_AUTOMATION_APP_ID }} | |
private_key: ${{ secrets.BOOSTPORT_AUTOMATION_APP_PRIVATE_KEY }} | |
- name: Generate data | |
run: docker compose run generate | |
- name: Open PR | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
token: ${{ steps.generate-token.outputs.token }} | |
branch: update-generated-data | |
author: GitHub <noreply@github.com> | |
committer: GitHub <noreply@github.com> | |
commit-message: Update generated data | |
title: 'Update generated data' | |
body: | | |
Automated update for `data.generated.go` | |
labels: automated pr | |
reviewers: F21 |