CI: check that submodules point to correct branches (#956)

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Anna Prosvetova 2022-01-12 17:06:39 +03:00 committed by GitHub
parent 407f68c08a
commit 3fbb97ba29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/workflows/check_submodules.yml vendored Normal file
View File

@ -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