diff --git a/.github/workflows/agentic-campaign-generator.lock.yml b/.github/workflows/agentic-campaign-generator.lock.yml index 6973b9edd63..f728ee09c86 100644 --- a/.github/workflows/agentic-campaign-generator.lock.yml +++ b/.github/workflows/agentic-campaign-generator.lock.yml @@ -83,7 +83,7 @@ jobs: env: GH_AW_WORKFLOW_NAME: "Agentic Campaign Generator" GH_AW_LOCK_FOR_AGENT: "true" - GH_AW_SAFE_OUTPUT_MESSAGES: "{\"runStarted\":\"### :rocket: Campaign setup started\\nCreating a tracking Project and generating campaign files + orchestrator workflow.\\nNo action needed — the [{workflow_name}]({run_url}) will open a pull request and post the link + checklist back on this issue when ready.\\n\\u003e To stop this run: remove the label that started it.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runSuccess\":\"### :white_check_mark: Campaign setup complete\\nTracking Project created and pull request with generated campaign files is ready.\\n**Next steps**: Review + merge the PR, then run the campaign from the Actions tab.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runFailure\":\"### :x: Campaign setup {status}\\n**Common causes**:\\n- `GH_AW_PROJECT_GITHUB_TOKEN` is missing or invalid\\n- Token lacks access to GitHub Projects\\n**Action required**:\\n- Fix the first error in the logs\\n- Re-apply the label to re-run\\n\\u003e **Troubleshooting**: https://githubnext.github.io/gh-aw/guides/campaigns/flow/#when-something-goes-wrong\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\"}" + GH_AW_SAFE_OUTPUT_MESSAGES: "{\"appendOnlyComments\":true,\"runStarted\":\"### :rocket: Campaign setup started\\nCreating a tracking Project and generating campaign files + orchestrator workflow.\\nNo action needed — the [{workflow_name}]({run_url}) will open a pull request and post the link + checklist back on this issue when ready.\\n\\u003e To stop this run: remove the label that started it.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runSuccess\":\"### :white_check_mark: Campaign setup complete\\nTracking Project created and pull request with generated campaign files is ready.\\n**Next steps**: Review + merge the PR, then run the campaign from the Actions tab.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runFailure\":\"### :x: Campaign setup {status}\\n**Common causes**:\\n- `GH_AW_PROJECT_GITHUB_TOKEN` is missing or invalid\\n- Token lacks access to GitHub Projects\\n**Action required**:\\n- Fix the first error in the logs\\n- Re-apply the label to re-run\\n\\u003e **Troubleshooting**: https://githubnext.github.io/gh-aw/guides/campaigns/flow/#when-something-goes-wrong\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\"}" with: script: | const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs'); @@ -1202,7 +1202,7 @@ jobs: GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.agent.outputs.secret_verification_result }} GH_AW_ASSIGNMENT_ERRORS: ${{ needs.safe_outputs.outputs.assign_to_agent_assignment_errors }} GH_AW_ASSIGNMENT_ERROR_COUNT: ${{ needs.safe_outputs.outputs.assign_to_agent_assignment_error_count }} - GH_AW_SAFE_OUTPUT_MESSAGES: "{\"runStarted\":\"### :rocket: Campaign setup started\\nCreating a tracking Project and generating campaign files + orchestrator workflow.\\nNo action needed — the [{workflow_name}]({run_url}) will open a pull request and post the link + checklist back on this issue when ready.\\n\\u003e To stop this run: remove the label that started it.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runSuccess\":\"### :white_check_mark: Campaign setup complete\\nTracking Project created and pull request with generated campaign files is ready.\\n**Next steps**: Review + merge the PR, then run the campaign from the Actions tab.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runFailure\":\"### :x: Campaign setup {status}\\n**Common causes**:\\n- `GH_AW_PROJECT_GITHUB_TOKEN` is missing or invalid\\n- Token lacks access to GitHub Projects\\n**Action required**:\\n- Fix the first error in the logs\\n- Re-apply the label to re-run\\n\\u003e **Troubleshooting**: https://githubnext.github.io/gh-aw/guides/campaigns/flow/#when-something-goes-wrong\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\"}" + GH_AW_SAFE_OUTPUT_MESSAGES: "{\"appendOnlyComments\":true,\"runStarted\":\"### :rocket: Campaign setup started\\nCreating a tracking Project and generating campaign files + orchestrator workflow.\\nNo action needed — the [{workflow_name}]({run_url}) will open a pull request and post the link + checklist back on this issue when ready.\\n\\u003e To stop this run: remove the label that started it.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runSuccess\":\"### :white_check_mark: Campaign setup complete\\nTracking Project created and pull request with generated campaign files is ready.\\n**Next steps**: Review + merge the PR, then run the campaign from the Actions tab.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runFailure\":\"### :x: Campaign setup {status}\\n**Common causes**:\\n- `GH_AW_PROJECT_GITHUB_TOKEN` is missing or invalid\\n- Token lacks access to GitHub Projects\\n**Action required**:\\n- Fix the first error in the logs\\n- Re-apply the label to re-run\\n\\u003e **Troubleshooting**: https://githubnext.github.io/gh-aw/guides/campaigns/flow/#when-something-goes-wrong\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\"}" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1221,7 +1221,7 @@ jobs: GH_AW_WORKFLOW_NAME: "Agentic Campaign Generator" GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }} GH_AW_DETECTION_CONCLUSION: ${{ needs.detection.result }} - GH_AW_SAFE_OUTPUT_MESSAGES: "{\"runStarted\":\"### :rocket: Campaign setup started\\nCreating a tracking Project and generating campaign files + orchestrator workflow.\\nNo action needed — the [{workflow_name}]({run_url}) will open a pull request and post the link + checklist back on this issue when ready.\\n\\u003e To stop this run: remove the label that started it.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runSuccess\":\"### :white_check_mark: Campaign setup complete\\nTracking Project created and pull request with generated campaign files is ready.\\n**Next steps**: Review + merge the PR, then run the campaign from the Actions tab.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runFailure\":\"### :x: Campaign setup {status}\\n**Common causes**:\\n- `GH_AW_PROJECT_GITHUB_TOKEN` is missing or invalid\\n- Token lacks access to GitHub Projects\\n**Action required**:\\n- Fix the first error in the logs\\n- Re-apply the label to re-run\\n\\u003e **Troubleshooting**: https://githubnext.github.io/gh-aw/guides/campaigns/flow/#when-something-goes-wrong\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\"}" + GH_AW_SAFE_OUTPUT_MESSAGES: "{\"appendOnlyComments\":true,\"runStarted\":\"### :rocket: Campaign setup started\\nCreating a tracking Project and generating campaign files + orchestrator workflow.\\nNo action needed — the [{workflow_name}]({run_url}) will open a pull request and post the link + checklist back on this issue when ready.\\n\\u003e To stop this run: remove the label that started it.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runSuccess\":\"### :white_check_mark: Campaign setup complete\\nTracking Project created and pull request with generated campaign files is ready.\\n**Next steps**: Review + merge the PR, then run the campaign from the Actions tab.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runFailure\":\"### :x: Campaign setup {status}\\n**Common causes**:\\n- `GH_AW_PROJECT_GITHUB_TOKEN` is missing or invalid\\n- Token lacks access to GitHub Projects\\n**Action required**:\\n- Fix the first error in the logs\\n- Re-apply the label to re-run\\n\\u003e **Troubleshooting**: https://githubnext.github.io/gh-aw/guides/campaigns/flow/#when-something-goes-wrong\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\"}" with: github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} script: | @@ -1463,7 +1463,7 @@ jobs: timeout-minutes: 15 env: GH_AW_ENGINE_ID: "claude" - GH_AW_SAFE_OUTPUT_MESSAGES: "{\"runStarted\":\"### :rocket: Campaign setup started\\nCreating a tracking Project and generating campaign files + orchestrator workflow.\\nNo action needed — the [{workflow_name}]({run_url}) will open a pull request and post the link + checklist back on this issue when ready.\\n\\u003e To stop this run: remove the label that started it.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runSuccess\":\"### :white_check_mark: Campaign setup complete\\nTracking Project created and pull request with generated campaign files is ready.\\n**Next steps**: Review + merge the PR, then run the campaign from the Actions tab.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runFailure\":\"### :x: Campaign setup {status}\\n**Common causes**:\\n- `GH_AW_PROJECT_GITHUB_TOKEN` is missing or invalid\\n- Token lacks access to GitHub Projects\\n**Action required**:\\n- Fix the first error in the logs\\n- Re-apply the label to re-run\\n\\u003e **Troubleshooting**: https://githubnext.github.io/gh-aw/guides/campaigns/flow/#when-something-goes-wrong\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\"}" + GH_AW_SAFE_OUTPUT_MESSAGES: "{\"appendOnlyComments\":true,\"runStarted\":\"### :rocket: Campaign setup started\\nCreating a tracking Project and generating campaign files + orchestrator workflow.\\nNo action needed — the [{workflow_name}]({run_url}) will open a pull request and post the link + checklist back on this issue when ready.\\n\\u003e To stop this run: remove the label that started it.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runSuccess\":\"### :white_check_mark: Campaign setup complete\\nTracking Project created and pull request with generated campaign files is ready.\\n**Next steps**: Review + merge the PR, then run the campaign from the Actions tab.\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\",\"runFailure\":\"### :x: Campaign setup {status}\\n**Common causes**:\\n- `GH_AW_PROJECT_GITHUB_TOKEN` is missing or invalid\\n- Token lacks access to GitHub Projects\\n**Action required**:\\n- Fix the first error in the logs\\n- Re-apply the label to re-run\\n\\u003e **Troubleshooting**: https://githubnext.github.io/gh-aw/guides/campaigns/flow/#when-something-goes-wrong\\n\\u003e **Docs**: https://githubnext.github.io/gh-aw/guides/campaigns/getting-started/\"}" GH_AW_WORKFLOW_ID: "agentic-campaign-generator" GH_AW_WORKFLOW_NAME: "Agentic Campaign Generator" outputs: diff --git a/.github/workflows/agentic-campaign-generator.md b/.github/workflows/agentic-campaign-generator.md index 94f9352ccea..6df3ecf0b9b 100644 --- a/.github/workflows/agentic-campaign-generator.md +++ b/.github/workflows/agentic-campaign-generator.md @@ -58,6 +58,7 @@ safe-outputs: max: 10 github-token: "${{ secrets.GH_AW_PROJECT_GITHUB_TOKEN }}" messages: + append-only-comments: true run-started: "### :rocket: Campaign setup started Creating a tracking Project and generating campaign files + orchestrator workflow.