Skip to content

[WIP] Add Snapshot Checker job to GitHub Actions workflow#79

Closed
Copilot wants to merge 1 commit into
mainfrom
copilot/add-snapshot-check-workflow
Closed

[WIP] Add Snapshot Checker job to GitHub Actions workflow#79
Copilot wants to merge 1 commit into
mainfrom
copilot/add-snapshot-check-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 2, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

Create pull requests in the following repositories to add/update the GitHub Actions workflow .github/workflows/snapshot_check.yml implementing the “Snapshot Checker” job.

Repositories and required EXECUTION_CLIENT value:

  • dappnode/DAppNodePackage-geth-generic -> geth
  • dappnode/DAppNodePackage-reth-generic -> reth
  • dappnode/DAppNodePackage-erigon-generic -> erigon
  • dappnode/DAppNodePackage-nethermind-generic -> nethermind
  • dappnode/DAppNodePackage-besu-generic -> besu

Workflow requirements (same across repos except EXECUTION_CLIENT):

  • File path: .github/workflows/snapshot_check.yml
  • Content:
name: Snapshot Checker

on:
  schedule:
    - cron: '0 */6 * * *'
  workflow_dispatch:

jobs:
  snapshot-check-docker:
    runs-on: staking-test-hoodi
    steps:
      - name: Run Snapshot Checker (Docker)
        run: |
          docker run --rm --pull=always \
            -v /var/run/docker.sock:/var/run/docker.sock \
            -v /var/lib/docker/volumes:/var/lib/docker/volumes \
            -e EXECUTION_CLIENT='<SET_PER_REPO>' \
            -e NETWORK=hoodi \
            -e LOG_LEVEL=debug \
            ghcr.io/dappnode/staker-test-util/snapshot-checker:latest
  • If the file already exists, update only the EXECUTION_CLIENT value to the correct one and keep the rest consistent.
  • Ensure YAML formatting remains valid.

PR expectations:

  • One PR per repository.
  • PR title: Add snapshot checker workflow
  • PR description should mention the repo-specific EXECUTION_CLIENT.

Notes:

  • Base branch is main.

This pull request was created from Copilot chat.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants