Skip to content

Commit 1650408

Browse files
Enforce no JFrog proxy URLs in committed lockfiles
Run make fix-lockfile in the fmt job and fail on git diff, catching any accidentally committed JFrog proxy URLs in lockfile.json. Same CI enforcement pattern as the Python SDK.
1 parent 2195ceb commit 1650408

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/push.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
- name: Check formatting
3636
run: mvn --errors spotless:check
3737

38+
- name: Check for JFrog proxy URLs in lockfiles
39+
run: |
40+
make fix-lockfile
41+
git diff --exit-code -- '**/lockfile.json'
42+
3843
unit-tests:
3944
strategy:
4045
fail-fast: false

0 commit comments

Comments
 (0)