Skip to content

fix(webapp): label key is not in result dict if all repos are skipped #641

fix(webapp): label key is not in result dict if all repos are skipped

fix(webapp): label key is not in result dict if all repos are skipped #641

Workflow file for this run

name: DB documentation generator
on:
push:
branches:
- "master"
- "stable"
jobs:
db-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cancel previous builds
uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Extract branch name
run: |
echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Generate DB docs
run: |
bash scripts/db_docs_generator.sh
env:
BRANCH_NAME: "${{ steps.extract_branch.outputs.branch }}"
VULNERABILITY_DOCS_TOKEN: "${{ secrets.VULNERABILITY_DOCS_TOKEN }}"