diff --git a/.github/workflows/required_status_check.yml b/.github/workflows/required_status_check.yml new file mode 100644 index 00000000..c261636a --- /dev/null +++ b/.github/workflows/required_status_check.yml @@ -0,0 +1,18 @@ +# workaround to simplify terraform management of required status checks, +# see https://github.com/orgs/community/discussions/12377 +name: required_status_check +on: + push: + branches: [ main, release/** ] + pull_request: + +jobs: + wait: + strategy: + matrix: + workflow: [ golangci-lint, rust, soroban-rpc ] + uses: kamilchodola/wait-for-workflow-action@1.1.0 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + workflow_id: ${{ matrix.workflow }}.yml + max_wait_minutes: '60' \ No newline at end of file