2024.1.3 #1973
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Submodule refs on origin | |
on: | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- run: | | |
git submodule foreach --recursive git fetch --unshallow | |
- run: | | |
git submodule foreach --recursive 'git merge-base --is-ancestor HEAD origin/master || git merge-base --is-ancestor HEAD origin/main' | |