Skip to content

Checkpoints Auto Update #88

Checkpoints Auto Update

Checkpoints Auto Update #88

Workflow file for this run

name: Checkpoints Auto Update
on:
workflow_dispatch:
schedule:
# Everyday at midnight UTC
- cron: "0 0 * * *"
jobs:
update-checkpoints:
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v6
- name: Update checkpoints
run: |
docker run --rm -v $PWD:/app -w /app --entrypoint forest-dev ghcr.io/chainsafe/forest:edge update-checkpoints
# This is needed in order to have the commits signed.
- uses: actions/create-github-app-token@v3
id: generate-token
with:
app-id: ${{ secrets.LESHY_APP_ID }}
private-key: ${{ secrets.LESHY_APP_PRIVATE_KEY }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
base: main
branch: leshy/update-forest-checkpoints
token: ${{ steps.generate-token.outputs.token }}
commit-message: Update Forest checkpoints
sign-commits: true
title: "[automated] Update Forest checkpoints"
body: |
### Changes
- Updates Forest checkpoints