CI: check that submodules point to correct branches (#956)
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
407f68c08a
commit
3fbb97ba29
17
.github/workflows/check_submodules.yml
vendored
Normal file
17
.github/workflows/check_submodules.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user