Skip to content

fix(registry): Answer 400 when the endpoint health check cannot reach the URL #1094

fix(registry): Answer 400 when the endpoint health check cannot reach the URL

fix(registry): Answer 400 when the endpoint health check cannot reach the URL #1094

Workflow file for this run

# CodeQL static analysis for the Go backend and the Angular/TypeScript portal.
# Results appear under Security -> Code scanning.
# Go requires a build for analysis (autobuild); JS/TS is scanned without one.
name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '25 3 * * 2'
permissions: read-all
concurrency:
group: codeql-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Keep CodeQL available to fork pushes and PRs; reserve its scheduled scan for the canonical repo.
if: github.event_name != 'schedule' || github.repository == 'container-registry/harbor-next'
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
include:
- language: go
build-mode: autobuild
- language: javascript-typescript
build-mode: none
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
queries: security-extended
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
with:
category: "/language:${{ matrix.language }}"