Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion repositories.tf
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ module "repo_osac" {
required_status_checks = [
{ context = "e2e-vmaas-full-install / e2e", integration_id = 15368 },
{ context = "e2e-bmaas-full-install / e2e", integration_id = 15368 },
{ context = "e2e-caas-full-install / e2e", integration_id = 15368 },
{ context = "e2e-caas-netris-full-install / e2e", integration_id = 15368 },

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

message="$(git log -1 --format=%B)"
printf '%s\n' "$message"

grep -Eiq '^(Assisted-by|Generated-by):.*Red Hat' <<<"$message" ||
  { echo "Missing Red Hat Assisted-by or Generated-by trailer" >&2; exit 1; }

if grep -Eiq '^Co-Authored-By:.*(AI|GPT|Claude|Copilot|bot)' <<<"$message"; then
  echo "AI tool must not appear in Co-Authored-By" >&2
  exit 1
fi

Repository: osac-project/github-config

Length of output: 631


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Commit:"
git show -s --format='%H%n%P%n%s' HEAD

echo
echo "Parsed trailers:"
git show -s --format='%B' HEAD | git interpret-trailers --parse || true

echo
echo "Full commit message:"
git show -s --format='%B' HEAD

Repository: osac-project/github-config

Length of output: 819


Add the required AI attribution trailer.

The commit message lacks a Red Hat Assisted-by or Generated-by trailer. No AI tool appears in a Co-Authored-By trailer.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@repositories.tf` at line 150, Add a Red Hat AI attribution trailer to the
commit message for the change near the e2e-caas-netris-full-install integration
entry, using either an Assisted-by or Generated-by trailer; do not use a
Co-Authored-By trailer for this attribution.

Source: Coding guidelines


🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

rg -n --hidden --glob '!.git/**' \
  'e2e-caas-netris-full-install|e2e-caas-full-install|^\s*(name|e2e):' .

Repository: osac-project/github-config

Length of output: 432


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- repositories.tf context ---'
sed -n '135,160p' repositories.tf

printf '%s\n' '--- workflow files ---'
git ls-files '.github/workflows/*' | while IFS= read -r file; do
  printf '\n### %s\n' "$file"
  sed -n '1,220p' "$file"
done

printf '%s\n' '--- relevant references ---'
rg -n --hidden --glob '!.git/**' \
  '15368|e2e-caas-netris-full-install|e2e-caas-full-install|repo_osac|Assisted-by|Generated-by|Co-Authored-By' .

printf '%s\n' '--- recent commit trailers ---'
git log -8 --format='%H%n%s%n%(trailers:key=Assisted-by,only)%n%(trailers:key=Generated-by,only)%n%(trailers:key=Co-Authored-By,only)%n---'

Repository: osac-project/github-config

Length of output: 6702


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- change introducing the context ---'
git show --format=fuller --stat --oneline 6969e69068961fb0c253b15c0182c6cef3956d8c
git show --format= --no-ext-diff 6969e69068961fb0c253b15c0182c6cef3956d8c -- repositories.tf

printf '%s\n' '--- repository remotes ---'
git remote -v

printf '%s\n' '--- public osac workflow definitions ---'
curl -fsSL https://api.github.com/repos/osac-project/osac/actions/workflows \
  | jq -r '.workflows[] | [.name, .path, .state] | `@tsv`' \
  | grep -E 'e2e|install|workflow' || true

printf '%s\n' '--- matching workflow content ---'
for path in \
  .github/workflows/e2e-caas-netris-full-install.yaml \
  .github/workflows/e2e-caas-netris-full-install.yml \
  .github/workflows/e2e-caas-full-install.yaml \
  .github/workflows/e2e-caas-full-install.yml
do
  url="https://raw.githubusercontent.com/osac-project/osac/main/$path"
  if content=$(curl -fsSL "$url" 2>/dev/null); then
    printf '\n### %s\n' "$path"
    printf '%s\n' "$content" | sed -n '1,180p'
  fi
done

Repository: osac-project/github-config

Length of output: 5089


Use the workflow’s exact check context. The workflow emits E2E CaaS Netris Full Install / e2e, not e2e-caas-netris-full-install / e2e. Update context and retain integration_id = 15368.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@repositories.tf` at line 150, Update the repository configuration entry’s
context value to exactly “E2E CaaS Netris Full Install / e2e” while preserving
integration_id = 15368.

]
# Preserve subtree-merge history/blame going forward -- squash-merging on the
# mono-repo would collapse that history for every commit after cutover, so
Expand Down
Loading