fix: add missing line continuations in Docker run command #104
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security Gate - LESIS | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
permissions: | |
security-events: read | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
MAX_CRITICAL: 0 | |
MAX_HIGH: 0 | |
MAX_MEDIUM: 0 | |
MAX_LOW: 0 | |
GITHUB_TOKEN: ${{ secrets.TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Pull Docker image from GitHub Container Registry | |
run: docker pull ghcr.io/instriq/security-gate/security-gate:latest | |
- name: Verify security alerts from dependabot | |
run: | | |
docker run ghcr.io/instriq/security-gate/security-gate:latest \ | |
-t "$GITHUB_TOKEN" \ | |
-r "${{ github.repository }}" \ | |
-c "$MAX_CRITICAL" \ | |
-h "$MAX_HIGH" \ | |
-m "$MAX_MEDIUM" \ | |
-l "$MAX_LOW" \ | |
--dependency-alerts \ | |
--secret-alerts \ | |
--code-alerts |