diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index c6a8268e575..b98f50eca97 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -13,6 +13,7 @@ # missing_tool["missing_tool"] # activation --> agent # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -3647,6 +3648,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/daily-perf-improver.lock.yml b/.github/workflows/daily-perf-improver.lock.yml index 23919dc38b0..4adf0011f6d 100644 --- a/.github/workflows/daily-perf-improver.lock.yml +++ b/.github/workflows/daily-perf-improver.lock.yml @@ -27,6 +27,7 @@ # agent --> create_discussion # detection --> create_discussion # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -4628,6 +4629,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/daily-test-improver.lock.yml b/.github/workflows/daily-test-improver.lock.yml index 5cfa765d74b..73e5b531e2e 100644 --- a/.github/workflows/daily-test-improver.lock.yml +++ b/.github/workflows/daily-test-improver.lock.yml @@ -27,6 +27,7 @@ # agent --> create_discussion # detection --> create_discussion # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -4602,6 +4603,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index b5ee5c9840e..39cbcf64d53 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -21,6 +21,7 @@ # agent --> create_discussion # detection --> create_discussion # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -4465,6 +4466,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index 5cbb6d6efa3..bf693cef793 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -17,6 +17,7 @@ # missing_tool["missing_tool"] # activation --> agent # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -3818,6 +3819,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index ed16242d6ac..ec0b2410805 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -20,6 +20,7 @@ # agent --> create_discussion # detection --> create_discussion # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -4287,6 +4288,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index a3b1d1ff0b4..d4438133a19 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -13,6 +13,7 @@ # missing_tool["missing_tool"] # activation --> agent # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -3766,6 +3767,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index 87a64df2198..8f23c2ef743 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -13,6 +13,7 @@ # missing_tool["missing_tool"] # activation --> agent # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -3645,6 +3646,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index d9d4123db29..b4db2c601fe 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -33,6 +33,7 @@ # agent --> create_pr_review_comment # detection --> create_pr_review_comment # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -5866,6 +5867,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index b5e82c037f9..aefaeeb09f5 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -26,6 +26,7 @@ # detection --> add_comment # activation --> agent # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -5241,6 +5242,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/security-fix-pr.lock.yml b/.github/workflows/security-fix-pr.lock.yml index 03abf220eb3..d10fd5f96f5 100644 --- a/.github/workflows/security-fix-pr.lock.yml +++ b/.github/workflows/security-fix-pr.lock.yml @@ -13,6 +13,7 @@ # missing_tool["missing_tool"] # activation --> agent # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -3593,6 +3594,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index c01c324d5fd..e830945efbb 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -23,6 +23,7 @@ # detection --> add_comment # activation --> agent # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -4971,6 +4972,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 6a1c641466a..a407d424f5a 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -17,6 +17,7 @@ # pre_activation --> activation # activation --> agent # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -4183,6 +4184,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index afef4dfd13a..1a1e415aaea 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -25,6 +25,7 @@ # detection --> add_comment # activation --> agent # agent --> create_pull_request +# activation --> create_pull_request # detection --> create_pull_request # agent --> detection # agent --> missing_tool @@ -4674,6 +4675,7 @@ jobs: create_pull_request: needs: - agent + - activation - detection if: > ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_pull_request')) diff --git a/pkg/workflow/compiler_jobs.go b/pkg/workflow/compiler_jobs.go index 20b1a787e03..f4ec903b61d 100644 --- a/pkg/workflow/compiler_jobs.go +++ b/pkg/workflow/compiler_jobs.go @@ -189,7 +189,8 @@ func (c *Compiler) buildSafeOutputsJobs(data *WorkflowData, jobName, markdownPat if err != nil { return fmt.Errorf("failed to build create_pull_request job: %w", err) } - // Safe-output jobs should depend on agent job (always) AND detection job (if enabled) + // Safe-output jobs should depend on agent job (always), activation job (for comment linking), AND detection job (if enabled) + createPullRequestJob.Needs = append(createPullRequestJob.Needs, constants.ActivationJobName) if threatDetectionEnabled { createPullRequestJob.Needs = append(createPullRequestJob.Needs, constants.DetectionJobName) }