From 3fbb97ba2911c2fb032fb4ca314d11f464666135 Mon Sep 17 00:00:00 2001 From: Anna Prosvetova Date: Wed, 12 Jan 2022 17:06:39 +0300 Subject: [PATCH] CI: check that submodules point to correct branches (#956) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: あく --- .github/workflows/check_submodules.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/check_submodules.yml diff --git a/.github/workflows/check_submodules.yml b/.github/workflows/check_submodules.yml new file mode 100644 index 00000000..db3a3afb --- /dev/null +++ b/.github/workflows/check_submodules.yml @@ -0,0 +1,17 @@ +name: 'Check submodules' + +on: + pull_request: + +jobs: + protobuf: + runs-on: ubuntu-latest + steps: + - name: 'Checkout code' + uses: actions/checkout@v2 + - name: 'Check submodule commit branch' + uses: jtmullen/submodule-branch-check-action@v1 + with: + path: assets/protobuf + branch: dev + fetch_depth: 50 \ No newline at end of file