diff --git a/.github/workflows/statediff.yml b/.github/workflows/statediff.yml new file mode 100644 index 000000000000..226a0acbb052 --- /dev/null +++ b/.github/workflows/statediff.yml @@ -0,0 +1,19 @@ +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/statediff@main + with: + roots: 'github.com/cosmos/cosmos-sdk/baseapp.BaseApp.DeliverTx,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.BeginBlock,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.EndBlock,github.com/cosmos/cosmos-sdk/baseapp.BaseApp.Commit'