From 6b8e4bae267a6d44e676ead5d2996687dd5a2927 Mon Sep 17 00:00:00 2001 From: modem7 Date: Sat, 19 Sep 2026 22:03:44 +0100 Subject: [PATCH] ci: use pull_request_target so auto-assign works on fork PRs --- .github/workflows/autoassign.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autoassign.yml b/.github/workflows/autoassign.yml index 4fc965f..5fcd3e7 100755 --- a/.github/workflows/autoassign.yml +++ b/.github/workflows/autoassign.yml @@ -3,7 +3,7 @@ name: Issue and PR assignment on: issues: types: [opened] - pull_request: + pull_request_target: types: [opened] schedule: - cron: '0 */6 * * *' @@ -22,7 +22,7 @@ jobs: assignees: modem7 auto-assign-pr: - if: github.event_name == 'pull_request' && github.actor != 'renovate[bot]' + if: github.event_name == 'pull_request_target' && github.actor != 'renovate[bot]' runs-on: ubuntu-latest permissions: pull-requests: write