RHEL9-CIS/.github/workflows/export_badges_private.yml
Mark Bolwell 5783bf4ce4
Workflow updates
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
2026-04-08 12:51:49 +01:00

19 lines
663 B
YAML

---
name: Export Private Repo Badges
on:
push:
branches:
- latest
workflow_dispatch:
jobs:
export-badges:
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && startsWith(github.repository, 'ansible-lockdown/Private-')) || (github.event_name == 'push' && github.ref_name == 'latest')
uses: ansible-lockdown/github_linux_IaC/.github/workflows/export_badges_private.yml@self_hosted
with:
# Full org/repo path passed for GitHub API calls (e.g., ansible-lockdown/Private-Windows-2016-CIS)
repo_name: ${{ github.repository }}
secrets:
BADGE_PUSH_TOKEN: ${{ secrets.BADGE_PUSH_TOKEN }}