Skip to content

feat(autobahn): prepare a restored node's epoch registry from a checkpoint #7624

feat(autobahn): prepare a restored node's epoch registry from a checkpoint

feat(autobahn): prepare a restored node's epoch registry from a checkpoint #7624

Workflow file for this run

name: seidroid review
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
pull_request_review:
types: [submitted]
pull_request:
types: [opened, ready_for_review, synchronize, reopened, closed]
permissions: {}
jobs:
seidroid-review:
if: >-
(github.event_name == 'pull_request' &&
github.event.action != 'closed') ||
(((github.event_name == 'issue_comment' &&
github.event.issue.pull_request != null) ||
github.event_name == 'pull_request_review_comment' ||
github.event_name == 'pull_request_review') &&
contains(github.event.comment.body || github.event.review.body,
'@seidroid review') &&
!contains(github.event.comment.body || github.event.review.body,
'@seidroid review close'))
uses: sei-protocol/uci/.github/workflows/seidroid-review.yml@a3e422db031508ff0b2adf2e66e5a2860a8858e2 # v0.0.27
permissions:
contents: read
pull-requests: write
checks: write
issues: write
secrets:
OMNIGENT_MACHINE_CLIENT_SECRET: ${{ secrets.OMNIGENT_MACHINE_CLIENT_SECRET }}
SEIDROID_APP_ID: ${{ secrets.PLATFORM_CODE_AGENT_APP_ID }}
SEIDROID_APP_PRIVATE_KEY: ${{ secrets.PLATFORM_CODE_AGENT_APP_PK }}
with:
mode: review
allowed-team: 'sei-protocol/sei-core'
allowed-bots: '["seidroid[bot]"]'
approve-on-success: true
# Anchored, unlike the review job's `contains`. A comment that quotes the
# teardown command beside a real `@seidroid review` line would otherwise route
# here, and uci v0.0.25 admits it on the review line without checking it
# against `mode`, so the session would be destroyed. Anchoring only this,
# destructive, job keeps such a comment from destroying anything. PLT-1182
# fixes the grammar once in uci, which can compare the parsed line to `mode`.
seidroid-review-close:
if: >-
github.event_name == 'issue_comment' &&
github.event.issue.pull_request != null &&
startsWith(github.event.comment.body, '@seidroid review close')
uses: sei-protocol/uci/.github/workflows/seidroid-review.yml@a3e422db031508ff0b2adf2e66e5a2860a8858e2 # v0.0.27
permissions:
contents: read
pull-requests: write
checks: write
issues: write
secrets:
OMNIGENT_MACHINE_CLIENT_SECRET: ${{ secrets.OMNIGENT_MACHINE_CLIENT_SECRET }}
SEIDROID_APP_ID: ${{ secrets.PLATFORM_CODE_AGENT_APP_ID }}
SEIDROID_APP_PRIVATE_KEY: ${{ secrets.PLATFORM_CODE_AGENT_APP_PK }}
with:
mode: close
allowed-team: 'sei-protocol/sei-core'
seidroid-review-reclaim:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
uses: sei-protocol/uci/.github/workflows/seidroid-review.yml@a3e422db031508ff0b2adf2e66e5a2860a8858e2 # v0.0.27
permissions:
contents: read
pull-requests: write
checks: write
issues: write
secrets:
OMNIGENT_MACHINE_CLIENT_SECRET: ${{ secrets.OMNIGENT_MACHINE_CLIENT_SECRET }}
SEIDROID_APP_ID: ${{ secrets.PLATFORM_CODE_AGENT_APP_ID }}
SEIDROID_APP_PRIVATE_KEY: ${{ secrets.PLATFORM_CODE_AGENT_APP_PK }}
with:
mode: close