From c340b979e0ffd80e6146eb0e059d355fd7ab6c19 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Mon, 17 Jun 2024 17:39:59 +0200 Subject: [PATCH] Add required status check workflow --- .github/workflows/required_status_check.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/required_status_check.yml diff --git a/.github/workflows/required_status_check.yml b/.github/workflows/required_status_check.yml new file mode 100644 index 00000000..3d7fae64 --- /dev/null +++ b/.github/workflows/required_status_check.yml @@ -0,0 +1,19 @@ +# 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 ] + steps: + - 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