From 7ddce274d6367074e4f9807e3d6ab5d540a5275e Mon Sep 17 00:00:00 2001 From: Mara Nikola Kiefer Date: Thu, 29 Jan 2026 09:58:06 +0100 Subject: [PATCH] fix: update assignees format for campaign --- .github/workflows/security-alert-burndown.lock.yml | 13 +++++++++++++ .github/workflows/security-alert-burndown.md | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/security-alert-burndown.lock.yml b/.github/workflows/security-alert-burndown.lock.yml index de75327f7b..d5d1e81676 100644 --- a/.github/workflows/security-alert-burndown.lock.yml +++ b/.github/workflows/security-alert-burndown.lock.yml @@ -2211,4 +2211,17 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/opt/gh-aw/actions/safe_output_handler_manager.cjs'); await main(); + - name: Assign copilot to created issues + if: steps.process_safe_outputs.outputs.issues_to_assign_copilot != '' + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + GH_TOKEN: ${{ secrets.GH_AW_AGENT_TOKEN || secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} + ISSUES_TO_ASSIGN_COPILOT: ${{ steps.process_safe_outputs.outputs.issues_to_assign_copilot }} + with: + github-token: ${{ secrets.GH_AW_AGENT_TOKEN || secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} + script: | + const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); + setupGlobals(core, github, context, exec, io); + const { main } = require('/opt/gh-aw/actions/assign_copilot_to_created_issues.cjs'); + await main(); diff --git a/.github/workflows/security-alert-burndown.md b/.github/workflows/security-alert-burndown.md index 8f8745083c..1557e06763 100644 --- a/.github/workflows/security-alert-burndown.md +++ b/.github/workflows/security-alert-burndown.md @@ -19,7 +19,7 @@ safe-outputs: max: 100 create-issue: max: 1 - assignees: [copilot] + assignees: copilot project: https://github.com/orgs/githubnext/projects/144 ---