cosmos-sdk/.github/workflows/consensuswarn.yml
2023-06-02 10:57:03 +00:00

20 lines
676 B
YAML

name: "Warn about consensus code changes"
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
main:
permissions:
pull-requests: write # For reading the PR and posting comment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: orijtech/consensuswarn@main
with:
roots: "github.com/cosmos/cosmos-sdk/baseapp.BaseApp.PrepareProposal,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.ProcessProposal,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.FinalizeBlock,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.Commit,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.VerifyVoteExtension"