Skip to content

Support centralized Code Quality Audit issue reporting - #1710

Open
v1v with Copilot wants to merge 4 commits into
mainfrom
copilot/gh-aw-code-quality-audit-support-issues
Open

Support centralized Code Quality Audit issue reporting#1710
v1v with Copilot wants to merge 4 commits into
mainfrom
copilot/gh-aw-code-quality-audit-support-issues

Conversation

Copilot AI commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Code Quality Audit reports were always created in the repository running the workflow. This adds an explicit destination repository so organizations can centralize audit findings.

  • Issue destination

    • Adds optional target-repo (owner/repo) input.
    • Defaults to the workflow repository.
  • Cross-repository authorization

    • Adds optional GH_AW_GITHUB_TOKEN secret for issue creation outside the workflow repository.
    • Falls back to GITHUB_TOKEN for existing same-repository usage.
  • Audit consistency

    • Routes duplicate searches and label lookups to target-repo.
    • Regenerates the compiled workflow lock file.
jobs:
  audit:
    uses: elastic/ai-github-actions/.github/workflows/gh-aw-code-quality-audit.lock.yml@v0
    with:
      target-repo: elastic/centralized-audit-reports
    secrets:
      GH_AW_GITHUB_TOKEN: ${{ secrets.CENTRAL_REPORTING_TOKEN }}

Copilot AI changed the title [WIP] Support raising GH issues in specified repository Support centralized Code Quality Audit issue reporting Jul 29, 2026
Copilot finished work on behalf of v1v July 29, 2026 13:58
Copilot AI requested a review from v1v July 29, 2026 13:58
@v1v

v1v commented Jul 30, 2026

Copy link
Copy Markdown
Member

Copilot AI commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

@copilot , review errors in the CI https://github.com/elastic/ai-github-actions/actions/runs/30458072753/job/90600399283?pr=1710

Fixed the stale generated workflow lock in bbdde9c. make compile now produces the committed GH_AW_FAILURE_REPORT_AS_ISSUE wiring for Code Quality Audit.

@v1v

v1v commented Aug 27, 2026

Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request

# Conflicts:
#	.github/workflows/gh-aw-code-quality-audit.lock.yml

Co-authored-by: v1v <2871786+v1v@users.noreply.github.com>

Copilot AI commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

Resolved the merge conflict and merged the current main branch in 7804244.

Copilot finished work on behalf of v1v August 27, 2026 09:20
@v1v
v1v marked this pull request as ready for review August 27, 2026 10:14
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.

gh-aw-code-quality-audit: support raising GH issues in a given github repository instead of n the one where the GH workflow runs

2 participants