Install bos-universal-gatekeeper-kicker.yml - #1
Open
blackoutsecure-gatewall-aut-c172c5[bot] wants to merge 1 commit into
Open
Install bos-universal-gatekeeper-kicker.yml#1blackoutsecure-gatewall-aut-c172c5[bot] wants to merge 1 commit into
blackoutsecure-gatewall-aut-c172c5[bot] wants to merge 1 commit into
Conversation
| 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 |
There was a problem hiding this comment.
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_securityflag, sorelease_onlystill enables security scanning by default. Gate this input withrun_securityso 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 || '' }} |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Installs the organization-managed
.github/workflows/bos-universal-gatekeeper-kicker.ymlfrom 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_SYNCtofalse.