Skip to content

Commit

Permalink
ci: unmanaged dependency check (#1892)
Browse files Browse the repository at this point in the history
* ci: unmanaged dependency check

This is is the implementation for the one I got your review in
go/cloud-sdk-java-dependency-governance-design. This check will
avoid accidentally adding a third-party dependency.

b/320677249

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
suztomo and gcf-owl-bot[bot] authored Feb 6, 2024
1 parent e062179 commit 6d6dc89
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/unmanaged_dependency_check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
pull_request:
name: Unmanaged dependency check
jobs:
unmanaged_dependency_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Install modules
shell: bash
run: |
# No argument to build.sh installs the modules in local Maven
# repository
.kokoro/build.sh
- name: Unmanaged dependency check
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@unmanaged-dependencies-check-latest
with:
bom-path: google-cloud-pubsub-bom/pom.xml

0 comments on commit 6d6dc89

Please sign in to comment.