-
Notifications
You must be signed in to change notification settings - Fork 0
GitHub Actions Workflows
This page documents reusable GitHub Actions workflows shared across Network Pro repositories. These modular components simplify enforcement of common DevOps practices like security scanning, linting, publishing, and deployment.
Enforces that the most recent CodeQL
workflow has completed successfully
before continuing any deploy or publish steps.
.github/workflows/check-codeql.yml
permissions:
actions: read
contents: read
jobs:
check-codeql:
uses: ./.github/workflows/check-codeql.yml
build:
needs: check-codeql
...
- The job uses
gh run list
to query the latest CodeQL run in the same repository. - It fails if the status is not
success
, blocking further execution. - No additional inputs or outputs are required.
- Uses
${GITHUB_REPOSITORY}
internally to determine the correct context — no customization needed. - Enforces hard fail on CLI errors or invalid CodeQL status.
📎 Related Repositories
💡 This page is part of the internal wiki for Network Pro™. To contribute or suggest changes, see Contributing to the Wiki.
Copyright © 2025
Network Pro Strategies
Network Pro™, the shield logo, and the "Locking Down Networks...™" slogan are trademarks of Network Pro Strategies.
Licensed under CC BY 4.0 and the GNU GPL, as published by the Free Software Foundation, either version 3 of the license or (at your option) any later version.