Skip to content

fix(workflows): disable lockdown on issue-triage-agent#60

Merged
arnaudlh merged 2 commits intomainfrom
fix/issue-triage-lockdown
May 6, 2026
Merged

fix(workflows): disable lockdown on issue-triage-agent#60
arnaudlh merged 2 commits intomainfrom
fix/issue-triage-lockdown

Conversation

@arnaudlh
Copy link
Copy Markdown
Member

@arnaudlh arnaudlh commented May 6, 2026

Summary

Fixes failing run 25431693913 where the Issue Triage Agent failed with:

Lockdown mode is enabled (lockdown: true) but no custom GitHub token is configured.

Changes

  • Remove lockdown: true from .github/workflows/issue-triage-agent.md so the workflow uses the standard GITHUB_TOKEN issued by Actions.
  • Recompile .github/workflows/issue-triage-agent.lock.yml.
  • Add gh-aw action lock at .github/aw/actions-lock.json.

Why option B (no lockdown)

This is an internal Azure-org repo whose triage runs only against issues in the same repo and only writes labels/comments via gh-aw safe-outputs. The added overhead of issuing and rotating a fine-grained PAT (GH_AW_GITHUB_TOKEN) is not warranted here.

Test

After merge, manually re-trigger via:

gh workflow run issue-triage-agent.lock.yml --repo Azure/git-ape

- remove lockdown:true so default GITHUB_TOKEN can be used
- recompile issue-triage-agent.lock.yml
- add gh-aw actions-lock.json

🔧 - Generated by Copilot
@arnaudlh arnaudlh requested a review from sendtoshailesh May 6, 2026 11:15
@arnaudlh arnaudlh self-assigned this May 6, 2026
@arnaudlh arnaudlh added the cicd All things related to CI/CD pipelines improvement label May 6, 2026
- add .github/actionlint.yaml ignoring SC2015 in *.lock.yml only
- README.md: split adjacent code fences and add blank line above heading

🔧 - Generated by Copilot
@arnaudlh arnaudlh merged commit 33dcff9 into main May 6, 2026
3 checks passed
@arnaudlh arnaudlh deleted the fix/issue-triage-lockdown branch May 6, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cicd All things related to CI/CD pipelines improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants