Fix PR duplicate check not running on external contributor submissions (#2188)

* Initial plan

* Fix PR duplicate check not running on external contributor submissions

Add forks: [\"*\"] and roles: all to pr-duplicate-check.md so the
agentic workflow runs for all PR authors, including external contributors
submitting from forks. Previously, the generated lock.yml contained:
- A fork repository check blocking all fork PRs from running
- A team membership check (admin/maintainer/write) blocking external contributors

Recompiled with gh aw compile to regenerate pr-duplicate-check.lock.yml.
The pre_activation job (which held the membership gate) is now removed,
and the activation job runs unconditionally for all pull_request events.

Closes #2121

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fixing a bunch of warnings on all the agentic workflows

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
Co-authored-by: Aaron Powell <me@aaron-powell.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot
2026-07-03 10:08:42 +10:00
committed by GitHub
parent 8c68eba690
commit 3bd22bc0f4
16 changed files with 490 additions and 1158 deletions
+4 -1
View File
@@ -1,11 +1,14 @@
---
description: 'Checks PRs for potential duplicate agents, instructions, skills, and workflows already in the repository'
on:
pull_request:
pull_request_target:
types: [opened, synchronize, reopened]
roles: all
checkout: false
permissions:
contents: read
pull-requests: read
copilot-requests: write
tools:
github:
toolsets: [repos, pull_requests]