mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 14:23:05 +00:00
19 lines
545 B
YAML
19 lines
545 B
YAML
---
|
|
|
|
name: Export Public Repo Badges
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- devel
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
export-badges:
|
|
if: github.repository_visibility == 'public' && (github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && (github.ref_name == 'devel' || github.ref_name == 'main')))
|
|
uses: ansible-lockdown/github_linux_IaC/.github/workflows/export_badges_public.yml@self_hosted
|
|
with:
|
|
repo_name: ${{ github.repository }}
|
|
secrets:
|
|
BADGE_PUSH_TOKEN: ${{ secrets.BADGE_PUSH_TOKEN }}
|