Skip to content

Commit

Permalink
CID-2409: Fix Snyk action
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedlajmileanix committed Mar 6, 2024
1 parent 21b3e38 commit 14d0f4f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/publish-docs-and-sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: LeanIX Secrets 🔒
uses: leanix/secrets-action@master
with:
secret-store-credentials: ${{ secrets.INJECTED_SECRET_STORE_CREDENTIALS }}

- name: Set up JDK temurin 17
uses: actions/setup-java@v3
Expand All @@ -37,7 +32,7 @@ jobs:
- name: VSM discovery
uses: leanix/vsm-discovery-github-action@v1.0.0
with:
api-token: ${{ env.VSM_LEANIX_API_TOKEN }}
api-token: ${{ secrets.VSM_LEANIX_API_TOKEN }}

- name: Sync gitlab-enterprise-connector.md docs
uses: readmeio/rdme@7.3.0
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/snyk-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Get credentials
uses: leanix/secrets-action@master
with:
secret-store-credentials: ${{ secrets.INJECTED_SECRET_STORE_CREDENTIALS }}

- uses: snyk/actions/gradle@master
with:
command: monitor
args: -d --severity-threshold=high --org=leanix --project-name=net.leanix:vsm-gitlab-broker --project-tags=Team=Cider
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ configurations.all {
force("ch.qos.logback:logback-core:1.4.14")
force("ch.qos.logback:logback-classic:1.4.14")
}
}
}

0 comments on commit 14d0f4f

Please sign in to comment.