Skip to content

Commit

Permalink
[CI] Detect unpinned git submodules in GH PR checks
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Nov 18, 2024
1 parent 1b7ef72 commit c7d6e8a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Git submodules properly pinned?
run: |
npm run seq -- get:submodule pin:submodule
echo "If the diff check below fails, then update .gitmodules by pinning the named git"
echo "submodule(s); or undo the submodule update(s) if it happened by mistake."
npm run _diff:fail
- name: Create NPM cache-hash input file
run: |
mkdir -p tmp
Expand Down
2 changes: 1 addition & 1 deletion content-modules/opentelemetry-java-examples

0 comments on commit c7d6e8a

Please sign in to comment.