Checkpoints #23
Workflow file for this run
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: Checkpoints | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 1 * *" # The 1st of every month | |
jobs: | |
update_checkpoints: | |
runs-on: buildjet-8vcpu-ubuntu-2204 | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v3 | |
- name: disk space | |
run: df -h | |
- name: pwd | |
run: pwd | |
- name: ls | |
run: ls | |
- name: download forest-cli binary | |
run: curl -LJO https://github.com/ChainSafe/forest/releases/download/v0.12.1/forest-v0.12.1-linux-amd64.zip && unzip forest-v0.12.1-linux-amd64.zip && cp forest-v0.12.1/forest-cli . | |
- name: ls | |
run: ls | |
- name: mark generate_checkpoints as executable | |
run: chmod +x scripts/generate_checkpoints.sh | |
- name: update checkpoints | |
run: ./scripts/generate_checkpoints.sh | |
- name: raise a pull request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: Update snapshot checkpoints | |
title: Update checkpoints | |
body: This is an automated PR that updates forest snapshot checkpoints for calibnet and mainnet. | |
add-paths: build/known_blocks.yaml | |
base: main | |
labels: automated-pr, perf, dx | |
branch: ga-update-checkpoints | |
draft: true | |
# delete-branch: true |