chore(deps): update pre-commit hook pycqa/flake8 to v7 #1410
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: DB documentation generator | |
on: | |
push: | |
branches: | |
- "master" | |
- "stable" | |
jobs: | |
db-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- 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 }}" |