Skip to content

Use an Actions secret for the IssueLens bridge URL - #67

Merged
Changyong Gong (chagong) merged 6 commits into
mainfrom
chagong-issuelens-workflow-migration
Nov 24, 2026
Merged

Changyong Gong (chagong) merged 6 commits into
mainfrom
chagong-issuelens-workflow-migration

Conversation

@chagong

Copy link
Copy Markdown
Collaborator

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 150b5ccac01d1622f776c45d9fd6328392a86263

Dimension Assessment Rationale
Change confidence 9/10 ↑ The two workflows pass actionlint and their workflow/action regression tests.
↓ A live secret-backed invocation has not been exercised.

Summary

  • Pass ISSUELENS_BRIDGE_URL from the encrypted repository Actions secret in the issue loop and team-memory coordinator. Use only a boolean to skip the steps when the secret is unavailable.
  • Keep the existing feature flags, event and repository gates, OIDC permissions, and trusted checkout unchanged. No Azure or Foundry deployment is required.
  • The old repository variable has been removed. Bridge-backed workflows on main skip until this change merges; automatic team memory remains off.

Validation

  • Passed the issue-triage and team-memory workflow assertions and the full team-memory workflow/action suite.
  • Passed actionlint v1.7.12 on both modified workflows.
  • The broader local workflow suite could not pass its unrelated Foundry deployment tests because jq is missing.

Authenticate the opt-in issue and team-memory workflows at the bridge and invoke the existing Foundry API with managed identity. Keep the agent runtime and direct callers unchanged.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 24, 2026 07:35

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.

🟢 Approval recommended

No active review issues were identified for the move to secret-backed bridge URL configuration.

No open issues 🎉

What changed in this PR

This PR moves the IssueLens bridge URL from a repository variable to an encrypted Actions secret in the issue-triage and team-memory coordinator workflows. Existing feature flags, event gates, permissions, and trusted checkout settings remain unchanged.

Changes:

  • Pass secrets.ISSUELENS_BRIDGE_URL to the shared action.
  • Use a boolean environment value to skip checkout and invocation when the secret is unavailable.
  • Update workflow regression assertions and setup documentation for secret-based configuration.
File Description
tests/​test_team_memory_workflow.py Assert secret usage and conditional coordinator steps.
tests/​test_issue_triage_workflow.py Assert secret usage and conditional issue-triage steps.
docs/​guide.md Document secret setup and missing-secret behavior.
.github/​workflows/​team-memory-coordinator.yml Use the bridge secret and gate checkout and invocation.
.github/​workflows/​issue-triage.yml Use the bridge secret and gate checkout and invocation.
.github/​actions/​issuelens/​README.md Document the secret-backed bridge-url input.

Review effort: Balanced

@chagong
Changyong Gong (chagong) merged commit b88dadd into main Nov 24, 2026
8 checks passed
@chagong
Changyong Gong (chagong) deleted the chagong-issuelens-workflow-migration branch November 24, 2026 07:40
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