Skip to content

Commit b83ceba

Browse files
fix: remove snyk, it does not work for this repo and dependabot will do for security (#186)
* fix: remove snyk, it does not work for this repo and dependabot will do for security * add test steps as dependencies for publishing docker images
1 parent 48409ce commit b83ceba

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -362,22 +362,9 @@ jobs:
362362
KAFKA_CFG_ADVERTISED_PORT: 9092
363363
KAFKA_CFG_AUTHORIZER_CLASS_NAME: kafka.security.authorizer.AclAuthorizer
364364
KAFKA_CFG_ALLOW_EVERYONE_IF_NO_ACL_FOUND: true
365-
366-
snyk:
367-
runs-on: ubuntu-latest
368-
needs: [test010, test270, test360]
369-
steps:
370-
- uses: actions/checkout@v3
371-
- name: Run Snyk to check for vulnerabilities
372-
uses: snyk/actions/golang@master
373-
env:
374-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
375-
with:
376-
args: --severity-threshold=high --fail-on=upgradable
377-
378-
365+
379366
publish-ghcr:
380-
needs: [setup, snyk]
367+
needs: [setup, test010, test270, test360]
381368
runs-on: ubuntu-latest
382369
if: ${{ ( github.ref_type == 'branch' ) && (( github.ref_name == 'master' ) || ( github.ref_name == 'v0' )) }}
383370
steps:
@@ -419,7 +406,7 @@ jobs:
419406
- run: echo "GHCR PUBLISH SUCCESSFUL"
420407

421408
publish-dockerhub:
422-
needs: [setup, snyk]
409+
needs: [setup, test010, test270, test360]
423410
environment: CICD
424411
env:
425412
RELEASE_TAG: ${{ needs.setup.outputs.version-tag }}

0 commit comments

Comments
 (0)