-
Notifications
You must be signed in to change notification settings - Fork 6
Update sync configuration #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,74 @@ | ||
| RedHatInsights/ccx-notification-service: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/ccx-notification-writer: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/ccx-upgrades-data-eng: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/ccx-upgrades-inference: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/content-service: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/data-pipeline: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/insights-ccx-messaging: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/insights-content-template-renderer: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/insights-core-messaging: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
Comment on lines
+65
to
+71
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
# Verify the new repository exists and check its default branch
repo="RedHatInsights/insights-core-messaging"
echo "Checking repository: $repo"
# Get repo info
repo_info=$(gh api "repos/$repo" 2>/dev/null || echo "NOT_FOUND")
if [[ "$repo_info" == "NOT_FOUND" ]]; then
echo "ERROR: Repository $repo does not exist or is not accessible"
exit 1
fi
default_branch=$(echo "$repo_info" | jq -r '.default_branch')
echo "Default branch: $default_branch"
if [[ "$default_branch" == "main" || "$default_branch" == "master" ]]; then
echo "✓ Default branch is compatible with linters.yaml push trigger"
else
echo "⚠ Default branch '$default_branch' may not be covered by linters.yaml push trigger (expects main or master)"
fi
# Check for required secrets (will likely show 'no' until provisioned)
echo ""
echo "Checking secrets (expected to be missing until provisioned):"
secret_names=$(gh api "repos/$repo/actions/secrets?per_page=100" --jq '.secrets[].name' 2>/dev/null || echo "")
for secret in OBSINT_PROCESSING_APP_CLIENT_ID OBSINT_PROCESSING_APP_PRIVATE_KEY; do
if printf "%s\n" "$secret_names" | grep -qx "$secret"; then
echo "✓ $secret: present"
else
echo "✗ $secret: missing"
fi
doneRepository: RedHatInsights/processing-tools Length of output: 369 Provision required secrets for the new sync target before deployment. The new sync target
These secrets must be provisioned in the repository before the synced workflow can function. 🤖 Prompt for AI Agents |
||
|
|
||
| # RedHatInsights/insights-data-schemas: | ||
| # - CODEOWNERS | ||
|
|
@@ -30,42 +78,102 @@ RedHatInsights/insights-content-template-renderer: | |
|
|
||
| RedHatInsights/insights-operator-gathering-conditions: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/insights-operator-gathering-conditions-service: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/insights-operator-utils: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/insights-results-aggregator: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/insights-results-aggregator-cleaner: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| # RedHatInsights/insights-results-aggregator-data: | ||
| # - CODEOWNERS | ||
|
|
||
| RedHatInsights/insights-results-aggregator-exporter: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/insights-results-aggregator-mock: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/insights-results-aggregator-utils: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| # RedHatInsights/insights-results-mcp: | ||
| # - CODEOWNERS | ||
|
|
||
| RedHatInsights/insights-results-smart-proxy: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/obsint-mocks: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/parquet-factory: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
|
|
||
| RedHatInsights/insights-behavioral-spec: | ||
| - CODEOWNERS | ||
| - renovate.json | ||
| - source: workflows_examples/linters.yaml | ||
| dest: .github/workflows/linters.yaml | ||
| - source: workflows_examples/bots-auto-merge.yaml | ||
| dest: .github/workflows/bots-auto-merge.yaml | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: RedHatInsights/processing-tools
Length of output: 1378
Syncing
workflows_examples/bots-auto-merge.yamlwill fail in all target repos—required secrets are missing.The verification shows all 21 target repos lack the required secrets
OBSINT_PROCESSING_APP_CLIENT_IDandOBSINT_PROCESSING_APP_PRIVATE_KEY. Thebots-auto-merge.yamlworkflow will fail at runtime in every repo. Either provision these secrets to all target repos first, or exclude this workflow from the sync until prerequisites are met.The
workflows_examples/linters.yamlworkflow is compatible (all repos usemainormasteras default branch).🤖 Prompt for AI Agents