Skip to content

ci: replace security-severity for license-related findings in snyk #5

ci: replace security-severity for license-related findings in snyk

ci: replace security-severity for license-related findings in snyk #5

name: Build easytrade on branch
on:
push:
branches:
- "*"
- "!master"
- "!main"
paths:
- .github/**
- kubernetes-manifests/**
- skaffold.yaml
- src/**
workflow_call:
secrets:
SNYK_API_TOKEN:
required: true
env:
SKAFFOLD_DEFAULT_REPO: europe-docker.pkg.dev/dynatrace-demoability/docker/easytrade
SKAFFOLD_VERSION: 2.13.2
jobs:
snyk:
uses: ./.github/workflows/snyk.yaml

Check failure on line 25 in .github/workflows/build-on-branch.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-on-branch.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/build-on-branch.yaml" -> "./.github/workflows/snyk.yaml" (source branch with sha:ce4879573e823782d870a7b39586a1f8158e40ef) : You have an error in your yaml syntax on line 54
permissions:
security-events: write
contents: read
actions: read
secrets:
SNYK_API_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
build-easytrade:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build easytrade without pushing to docker repository
uses: hiberbee/[email protected]
with:
command: build
push: false
skaffold-version: ${{ env.SKAFFOLD_VERSION }}