Skip to content

Disable threat detection in agentic workflow#4401

Open
cheenamalhotra wants to merge 3 commits into
mainfrom
dev/cheena/disable-threat-detection
Open

Disable threat detection in agentic workflow#4401
cheenamalhotra wants to merge 3 commits into
mainfrom
dev/cheena/disable-threat-detection

Conversation

@cheenamalhotra

@cheenamalhotra cheenamalhotra commented Jun 24, 2026

Copy link
Copy Markdown
Member

Addresses #4400

Detection flow doesn't fetch access token from environment, and requires copilot token from repository, this is why we cannot get it working in a protected environment configuration.

We are now allowed to keep PATs, so the only option is to disable detection till we get to next stage. Disabling this till we get org-level copilot access setup in GitHub Actions.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Disables the agentic workflow threat-detection path for the issue-triage workflow so it can run under a protected GitHub Actions environment configuration that restricts token access.

Changes:

  • Added workflow comments documenting why the issue-triage environment is set and why threat detection is disabled.
  • Disabled threat detection in the workflow’s safe-outputs configuration.
  • Regenerated the compiled .lock.yml to remove the detection job and related steps/dependencies.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/issue-triage.md Documents protected-environment behavior and disables threat detection via safe-outputs.
.github/workflows/issue-triage.lock.yml Compiled output reflecting the removal of threat-detection logic and dependencies.

Comment thread .github/workflows/issue-triage.md Outdated
Comment thread .github/workflows/issue-triage.md Outdated
Comment thread .github/workflows/issue-triage.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 24, 2026 02:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To triage

Development

Successfully merging this pull request may close these issues.

4 participants