[feat] implement the operator interfaces expected by dogfood #218
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: "Consensus Warn" | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- synchronize | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
main: | |
permissions: | |
contents: read | |
pull-requests: write # For reading the PR and posting comment | |
runs-on: ubuntu-latest | |
steps: | |
# This is used for warning when a PR touches any of the roots, or any function or method directly or indirectly called by a root | |
- uses: actions/checkout@v4 | |
- uses: orijtech/consensuswarn@main | |
with: | |
# example.com/pkg/path.Type.Method | |
roots: 'github.com/ExocoreNetwork/exocore/app.ExocoreApp.DeliverTx,github.com/ExocoreNetwork/exocore/app.ExocoreApp.BeginBlocker,github.com/ExocoreNetwork/exocore/app.ExocoreApp.EndBlocker' |