Skip to content

Install bos-universal-gatekeeper-kicker.yml - #1

Open
blackoutsecure-gatewall-aut-c172c5[bot] wants to merge 1 commit into
devfrom
chore/seed-bos-universal-gatekeeper-kicker
Open

Install bos-universal-gatekeeper-kicker.yml#1
blackoutsecure-gatewall-aut-c172c5[bot] wants to merge 1 commit into
devfrom
chore/seed-bos-universal-gatekeeper-kicker

Conversation

@blackoutsecure-gatewall-aut-c172c5

Copy link
Copy Markdown

Installs the organization-managed .github/workflows/bos-universal-gatekeeper-kicker.yml from bos-automation-hub.

The org fan-out dispatches each repository's own kicker, so a repository without one cannot be reached by hub automation at all.
This pull request delivers the file once; afterwards the managed file sync keeps it current and this will not reappear.

To decline hub automation, set the repository variable AUTO_HUB_SYNC to false.

Copilot AI balanced review requested due to automatic review settings September 1, 2026 07:34
if: github.event_name != 'schedule' && needs.resolve-target-ref.outputs.target_ref == 'dev'
permissions:
contents: write
uses: blackoutsecure/bos-automation-hub/.github/workflows/bos-universal-sync.yml@dev
if: github.event_name != 'schedule' && needs.resolve-target-ref.outputs.target_ref == 'main'
permissions:
contents: write
uses: blackoutsecure/bos-automation-hub/.github/workflows/bos-universal-sync.yml@main
persist-credentials: false
- name: Load universal config
id: config
uses: blackoutsecure/bos-automation-hub/.github/actions/universal-config@main
permissions:
contents: read
models: read
uses: blackoutsecure/bos-automation-hub/.github/workflows/bos-universal-action-test.yml@main
permissions:
contents: read
models: read
uses: blackoutsecure/bos-automation-hub/.github/workflows/repo-metadata-sync.yml@main
if: github.event_name == 'workflow_dispatch' && inputs.operation == 'marketplace_validate'
permissions:
contents: read
uses: blackoutsecure/bos-automation-hub/.github/workflows/bos-universal-marketplace.yml@main
permissions:
contents: write
models: read
uses: blackoutsecure/bos-automation-hub/.github/workflows/release-promote.yml@main
pull-requests: write # nested Docker Scout PR annotations
security-events: write # nested Docker Scout SARIF upload
models: read # nested release.yml -> github-release.yml AI changelog
uses: blackoutsecure/bos-automation-hub/.github/workflows/bos-universal-gatekeeper.yml@dev
pull-requests: write # nested Docker Scout PR annotations
security-events: write # nested Docker Scout SARIF upload
models: read # nested release.yml -> github-release.yml AI changelog
uses: blackoutsecure/bos-automation-hub/.github/workflows/bos-universal-gatekeeper.yml@main

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the organization-managed gatekeeper workflow for centralized automation dispatch and release routing.

Changes:

  • Adds authorization and managed-file synchronization.
  • Routes manual operations to hub workflows.
  • Adds automatic release and security pipeline triggers.
Suppressed comments (1)

.github/workflows/bos-universal-gatekeeper-kicker.yml:772

  • As in the dev caller, this main caller ignores the resolved run_security flag, so release_only still enables security scanning by default. Gate this input with run_security so the operation routing is honored.
      enable_security_scan: ${{ needs.parse-config.outputs.operation == 'security_only' || fromJson(needs.parse-config.outputs.cfg).security_scan.enable != false }}

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +29 to +32
schedule:
# Upstream-change check: only releases when the monitor stage detects a
# new version (or the `41 3 * * 0` cron below forces one regardless).
- cron: "17 */6 * * *"
Comment on lines +124 to +125
sync_only|metadata) level=standard ;;
security_only|marketplace_validate|action_test) level=low ;;
Comment on lines +329 to +332
preflight:
name: Runner preflight
needs: [authorize, parse-config]
if: fromJson(needs.parse-config.outputs.cfg).gatekeeper.preflight != ''
use_launchpad_config: true

# ----- Optional stages configured from data file -----
enable_security_scan: ${{ needs.parse-config.outputs.operation == 'security_only' || fromJson(needs.parse-config.outputs.cfg).security_scan.enable != false }}
security_scan_use_advanced_pat: ${{ fromJson(needs.parse-config.outputs.cfg).security_scan.use_advanced_pat == true }}

enable_repo_metadata: ${{ fromJson(needs.parse-config.outputs.cfg).repo_metadata.enable == true }}
repo_metadata_description: ${{ fromJson(needs.parse-config.outputs.cfg).repo_metadata.description || '' }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants