From 7268136bb6c3a23091dad3fce9883e1fabd0314f Mon Sep 17 00:00:00 2001 From: Don Syme Date: Wed, 17 Sep 2025 11:33:24 +0100 Subject: [PATCH] update workflows --- .github/workflows/ask.lock.yml | 19 +++++---- .github/workflows/ci-doctor.lock.yml | 23 +++++++---- .../workflows/daily-backlog-burner.lock.yml | 35 +++++++++++----- .github/workflows/daily-backlog-burner.md | 1 - .../workflows/daily-perf-improver.lock.yml | 35 +++++++++++----- .github/workflows/daily-perf-improver.md | 1 - .../workflows/daily-test-improver.lock.yml | 40 ++++++++++++++----- .github/workflows/daily-test-improver.md | 1 - .github/workflows/pr-fix.lock.yml | 30 ++++++++++---- 9 files changed, 130 insertions(+), 55 deletions(-) diff --git a/.github/workflows/ask.lock.yml b/.github/workflows/ask.lock.yml index 0cd4880ec..1fd02e3cb 100644 --- a/.github/workflows/ask.lock.yml +++ b/.github/workflows/ask.lock.yml @@ -2,7 +2,7 @@ # To update this file, edit the corresponding .md file and run: # gh aw compile # -# Effective stop-time: 2025-09-19 10:02:59 +# Effective stop-time: 2025-09-19 10:32:53 name: "Question Answering Researcher" on: @@ -854,7 +854,7 @@ jobs: }, }, { - name: "add-issue-label", + name: "add-issue-labels", description: "Add labels to a GitHub issue or pull request", inputSchema: { type: "object", @@ -1066,7 +1066,7 @@ jobs: WORKFLOW_NAME="Question Answering Researcher" # Check stop-time limit - STOP_TIME="2025-09-19 10:02:59" + STOP_TIME="2025-09-19 10:32:53" echo "Checking stop-time limit: $STOP_TIME" # Convert stop time to epoch seconds @@ -1154,6 +1154,11 @@ jobs: ## Adding a Comment to an Issue or Pull Request, Reporting Missing Tools or Functionality **IMPORTANT**: To do the actions mentioned in the header of this section, use the **safe-outputs** tools, do NOT attempt to use `gh`, do NOT attempt to use the GitHub API. You don't have write access to the GitHub repo. + + **Adding a Comment to an Issue or Pull Request** + + To add a comment to an issue or pull request, use the add-issue-comments tool from the safe-outputs MCP + EOF - name: Print prompt to step summary run: | @@ -1478,7 +1483,7 @@ jobs: return 1; // Only one pull request allowed case "create-pull-request-review-comment": return 10; // Default to 10 review comments allowed - case "add-issue-label": + case "add-issue-labels": return 5; // Only one labels operation allowed case "update-issue": return 1; // Only one issue update allowed @@ -1731,10 +1736,10 @@ jobs: ); } break; - case "add-issue-label": + case "add-issue-labels": if (!item.labels || !Array.isArray(item.labels)) { errors.push( - `Line ${i + 1}: add-issue-label requires a 'labels' array field` + `Line ${i + 1}: add-issue-labels requires a 'labels' array field` ); continue; } @@ -1744,7 +1749,7 @@ jobs: ) ) { errors.push( - `Line ${i + 1}: add-issue-label labels array must contain only strings` + `Line ${i + 1}: add-issue-labels labels array must contain only strings` ); continue; } diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index d0fe96dbf..265c7cd60 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -2,7 +2,7 @@ # To update this file, edit the corresponding .md file and run: # gh aw compile # -# Effective stop-time: 2025-09-19 10:02:59 +# Effective stop-time: 2025-09-19 10:32:53 name: "CI Failure Doctor" "on": @@ -335,7 +335,7 @@ jobs: }, }, { - name: "add-issue-label", + name: "add-issue-labels", description: "Add labels to a GitHub issue or pull request", inputSchema: { type: "object", @@ -547,7 +547,7 @@ jobs: WORKFLOW_NAME="CI Failure Doctor" # Check stop-time limit - STOP_TIME="2025-09-19 10:02:59" + STOP_TIME="2025-09-19 10:32:53" echo "Checking stop-time limit: $STOP_TIME" # Convert stop time to epoch seconds @@ -767,6 +767,15 @@ jobs: ## Adding a Comment to an Issue or Pull Request, Creating an Issue, Reporting Missing Tools or Functionality **IMPORTANT**: To do the actions mentioned in the header of this section, use the **safe-outputs** tools, do NOT attempt to use `gh`, do NOT attempt to use the GitHub API. You don't have write access to the GitHub repo. + + **Adding a Comment to an Issue or Pull Request** + + To add a comment to an issue or pull request, use the add-issue-comments tool from the safe-outputs MCP + + **Creating an Issue** + + To create an issue, use the create-issue tool from the safe-outputs MCP + EOF - name: Print prompt to step summary run: | @@ -1088,7 +1097,7 @@ jobs: return 1; // Only one pull request allowed case "create-pull-request-review-comment": return 10; // Default to 10 review comments allowed - case "add-issue-label": + case "add-issue-labels": return 5; // Only one labels operation allowed case "update-issue": return 1; // Only one issue update allowed @@ -1341,10 +1350,10 @@ jobs: ); } break; - case "add-issue-label": + case "add-issue-labels": if (!item.labels || !Array.isArray(item.labels)) { errors.push( - `Line ${i + 1}: add-issue-label requires a 'labels' array field` + `Line ${i + 1}: add-issue-labels requires a 'labels' array field` ); continue; } @@ -1354,7 +1363,7 @@ jobs: ) ) { errors.push( - `Line ${i + 1}: add-issue-label labels array must contain only strings` + `Line ${i + 1}: add-issue-labels labels array must contain only strings` ); continue; } diff --git a/.github/workflows/daily-backlog-burner.lock.yml b/.github/workflows/daily-backlog-burner.lock.yml index 4f54118b6..ea0e0b89f 100644 --- a/.github/workflows/daily-backlog-burner.lock.yml +++ b/.github/workflows/daily-backlog-burner.lock.yml @@ -2,7 +2,7 @@ # To update this file, edit the corresponding .md file and run: # gh aw compile # -# Effective stop-time: 2025-09-19 10:02:59 +# Effective stop-time: 2025-09-19 10:32:53 name: "Daily Backlog Burner" "on": @@ -315,7 +315,7 @@ jobs: }, }, { - name: "add-issue-label", + name: "add-issue-labels", description: "Add labels to a GitHub issue or pull request", inputSchema: { type: "object", @@ -527,7 +527,7 @@ jobs: WORKFLOW_NAME="Daily Backlog Burner" # Check stop-time limit - STOP_TIME="2025-09-19 10:02:59" + STOP_TIME="2025-09-19 10:32:53" echo "Checking stop-time limit: $STOP_TIME" # Convert stop time to epoch seconds @@ -665,6 +665,24 @@ jobs: ## Adding a Comment to an Issue or Pull Request, Creating an Issue, Creating a Pull Request, Reporting Missing Tools or Functionality **IMPORTANT**: To do the actions mentioned in the header of this section, use the **safe-outputs** tools, do NOT attempt to use `gh`, do NOT attempt to use the GitHub API. You don't have write access to the GitHub repo. + + **Adding a Comment to an Issue or Pull Request** + + To add a comment to an issue or pull request, use the add-issue-comments tool from the safe-outputs MCP + + **Creating an Issue** + + To create an issue, use the create-issue tool from the safe-outputs MCP + + **Creating a Pull Request** + + To create a pull request: + 1. Make any file changes directly in the working directory + 2. If you haven't done so already, create a local branch using an appropriate unique name + 3. Add and commit your changes to the branch. Be careful to add exactly the files you intend, and check there are no extra files left un-added. Check you haven't deleted or changed any files you didn't intend to. + 4. Do not push your changes. That will be done by the tool. + 5. Create the pull request with the create-pull-request tool from the safe-outputs MCP + EOF - name: Print prompt to step summary run: | @@ -992,7 +1010,7 @@ jobs: return 1; // Only one pull request allowed case "create-pull-request-review-comment": return 10; // Default to 10 review comments allowed - case "add-issue-label": + case "add-issue-labels": return 5; // Only one labels operation allowed case "update-issue": return 1; // Only one issue update allowed @@ -1245,10 +1263,10 @@ jobs: ); } break; - case "add-issue-label": + case "add-issue-labels": if (!item.labels || !Array.isArray(item.labels)) { errors.push( - `Line ${i + 1}: add-issue-label requires a 'labels' array field` + `Line ${i + 1}: add-issue-labels requires a 'labels' array field` ); continue; } @@ -1258,7 +1276,7 @@ jobs: ) ) { errors.push( - `Line ${i + 1}: add-issue-label labels array must contain only strings` + `Line ${i + 1}: add-issue-labels labels array must contain only strings` ); continue; } @@ -2388,7 +2406,6 @@ jobs: GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-backlog-burner.outputs.output }} GITHUB_AW_ISSUE_TITLE_PREFIX: "${{ github.workflow }}" with: - github-token: ${{ secrets.DSYME_GH_TOKEN}} script: | async function main() { // Check if we're in staged mode @@ -2588,7 +2605,6 @@ jobs: GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-backlog-burner.outputs.output }} GITHUB_AW_COMMENT_TARGET: "*" with: - github-token: ${{ secrets.DSYME_GH_TOKEN}} script: | async function main() { // Check if we're in staged mode @@ -2811,7 +2827,6 @@ jobs: GITHUB_AW_PR_DRAFT: "true" GITHUB_AW_PR_IF_NO_CHANGES: "warn" with: - github-token: ${{ secrets.DSYME_GH_TOKEN}} script: | /** @type {typeof import("fs")} */ const fs = require("fs"); diff --git a/.github/workflows/daily-backlog-burner.md b/.github/workflows/daily-backlog-burner.md index 66124ee79..1bd2d81bf 100644 --- a/.github/workflows/daily-backlog-burner.md +++ b/.github/workflows/daily-backlog-burner.md @@ -19,7 +19,6 @@ safe-outputs: max: 3 create-pull-request: draft: true - github-token: ${{ secrets.DSYME_GH_TOKEN}} tools: web-fetch: diff --git a/.github/workflows/daily-perf-improver.lock.yml b/.github/workflows/daily-perf-improver.lock.yml index 685dff76f..0d41ffa35 100644 --- a/.github/workflows/daily-perf-improver.lock.yml +++ b/.github/workflows/daily-perf-improver.lock.yml @@ -2,7 +2,7 @@ # To update this file, edit the corresponding .md file and run: # gh aw compile # -# Effective stop-time: 2025-09-19 10:02:59 +# Effective stop-time: 2025-09-19 10:32:53 name: "Daily Perf Improver" "on": @@ -329,7 +329,7 @@ jobs: }, }, { - name: "add-issue-label", + name: "add-issue-labels", description: "Add labels to a GitHub issue or pull request", inputSchema: { type: "object", @@ -541,7 +541,7 @@ jobs: WORKFLOW_NAME="Daily Perf Improver" # Check stop-time limit - STOP_TIME="2025-09-19 10:02:59" + STOP_TIME="2025-09-19 10:32:53" echo "Checking stop-time limit: $STOP_TIME" # Convert stop time to epoch seconds @@ -740,6 +740,24 @@ jobs: ## Adding a Comment to an Issue or Pull Request, Creating an Issue, Creating a Pull Request, Reporting Missing Tools or Functionality **IMPORTANT**: To do the actions mentioned in the header of this section, use the **safe-outputs** tools, do NOT attempt to use `gh`, do NOT attempt to use the GitHub API. You don't have write access to the GitHub repo. + + **Adding a Comment to an Issue or Pull Request** + + To add a comment to an issue or pull request, use the add-issue-comments tool from the safe-outputs MCP + + **Creating an Issue** + + To create an issue, use the create-issue tool from the safe-outputs MCP + + **Creating a Pull Request** + + To create a pull request: + 1. Make any file changes directly in the working directory + 2. If you haven't done so already, create a local branch using an appropriate unique name + 3. Add and commit your changes to the branch. Be careful to add exactly the files you intend, and check there are no extra files left un-added. Check you haven't deleted or changed any files you didn't intend to. + 4. Do not push your changes. That will be done by the tool. + 5. Create the pull request with the create-pull-request tool from the safe-outputs MCP + EOF - name: Print prompt to step summary run: | @@ -1067,7 +1085,7 @@ jobs: return 1; // Only one pull request allowed case "create-pull-request-review-comment": return 10; // Default to 10 review comments allowed - case "add-issue-label": + case "add-issue-labels": return 5; // Only one labels operation allowed case "update-issue": return 1; // Only one issue update allowed @@ -1320,10 +1338,10 @@ jobs: ); } break; - case "add-issue-label": + case "add-issue-labels": if (!item.labels || !Array.isArray(item.labels)) { errors.push( - `Line ${i + 1}: add-issue-label requires a 'labels' array field` + `Line ${i + 1}: add-issue-labels requires a 'labels' array field` ); continue; } @@ -1333,7 +1351,7 @@ jobs: ) ) { errors.push( - `Line ${i + 1}: add-issue-label labels array must contain only strings` + `Line ${i + 1}: add-issue-labels labels array must contain only strings` ); continue; } @@ -2463,7 +2481,6 @@ jobs: GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-perf-improver.outputs.output }} GITHUB_AW_ISSUE_TITLE_PREFIX: "${{ github.workflow }}" with: - github-token: ${{ secrets.DSYME_GH_TOKEN}} script: | async function main() { // Check if we're in staged mode @@ -2663,7 +2680,6 @@ jobs: GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-perf-improver.outputs.output }} GITHUB_AW_COMMENT_TARGET: "*" with: - github-token: ${{ secrets.DSYME_GH_TOKEN}} script: | async function main() { // Check if we're in staged mode @@ -2886,7 +2902,6 @@ jobs: GITHUB_AW_PR_DRAFT: "true" GITHUB_AW_PR_IF_NO_CHANGES: "warn" with: - github-token: ${{ secrets.DSYME_GH_TOKEN}} script: | /** @type {typeof import("fs")} */ const fs = require("fs"); diff --git a/.github/workflows/daily-perf-improver.md b/.github/workflows/daily-perf-improver.md index 303c4a104..80b965852 100644 --- a/.github/workflows/daily-perf-improver.md +++ b/.github/workflows/daily-perf-improver.md @@ -20,7 +20,6 @@ safe-outputs: target: "*" # can add a comment to any one single issue or pull request create-pull-request: draft: true - github-token: ${{ secrets.DSYME_GH_TOKEN}} tools: web-fetch: diff --git a/.github/workflows/daily-test-improver.lock.yml b/.github/workflows/daily-test-improver.lock.yml index 1854a9c8b..05bcf7ed5 100644 --- a/.github/workflows/daily-test-improver.lock.yml +++ b/.github/workflows/daily-test-improver.lock.yml @@ -2,7 +2,7 @@ # To update this file, edit the corresponding .md file and run: # gh aw compile # -# Effective stop-time: 2025-09-19 10:02:59 +# Effective stop-time: 2025-09-19 10:32:53 name: "Daily Test Coverage Improver" "on": @@ -329,7 +329,7 @@ jobs: }, }, { - name: "add-issue-label", + name: "add-issue-labels", description: "Add labels to a GitHub issue or pull request", inputSchema: { type: "object", @@ -541,7 +541,7 @@ jobs: WORKFLOW_NAME="Daily Test Coverage Improver" # Check stop-time limit - STOP_TIME="2025-09-19 10:02:59" + STOP_TIME="2025-09-19 10:32:53" echo "Checking stop-time limit: $STOP_TIME" # Convert stop time to epoch seconds @@ -711,6 +711,28 @@ jobs: ## Adding a Comment to an Issue or Pull Request, Creating an Issue, Creating a Pull Request, Updating Issues, Reporting Missing Tools or Functionality **IMPORTANT**: To do the actions mentioned in the header of this section, use the **safe-outputs** tools, do NOT attempt to use `gh`, do NOT attempt to use the GitHub API. You don't have write access to the GitHub repo. + + **Adding a Comment to an Issue or Pull Request** + + To add a comment to an issue or pull request, use the add-issue-comments tool from the safe-outputs MCP + + **Creating an Issue** + + To create an issue, use the create-issue tool from the safe-outputs MCP + + **Creating a Pull Request** + + To create a pull request: + 1. Make any file changes directly in the working directory + 2. If you haven't done so already, create a local branch using an appropriate unique name + 3. Add and commit your changes to the branch. Be careful to add exactly the files you intend, and check there are no extra files left un-added. Check you haven't deleted or changed any files you didn't intend to. + 4. Do not push your changes. That will be done by the tool. + 5. Create the pull request with the create-pull-request tool from the safe-outputs MCP + + **Updating an Issue** + + To udpate an issue, use the update-issue tool from the safe-outputs MCP + EOF - name: Print prompt to step summary run: | @@ -1038,7 +1060,7 @@ jobs: return 1; // Only one pull request allowed case "create-pull-request-review-comment": return 10; // Default to 10 review comments allowed - case "add-issue-label": + case "add-issue-labels": return 5; // Only one labels operation allowed case "update-issue": return 1; // Only one issue update allowed @@ -1291,10 +1313,10 @@ jobs: ); } break; - case "add-issue-label": + case "add-issue-labels": if (!item.labels || !Array.isArray(item.labels)) { errors.push( - `Line ${i + 1}: add-issue-label requires a 'labels' array field` + `Line ${i + 1}: add-issue-labels requires a 'labels' array field` ); continue; } @@ -1304,7 +1326,7 @@ jobs: ) ) { errors.push( - `Line ${i + 1}: add-issue-label labels array must contain only strings` + `Line ${i + 1}: add-issue-labels labels array must contain only strings` ); continue; } @@ -2434,7 +2456,6 @@ jobs: GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-test-coverage-improver.outputs.output }} GITHUB_AW_ISSUE_TITLE_PREFIX: "${{ github.workflow }}" with: - github-token: ${{ secrets.DSYME_GH_TOKEN}} script: | async function main() { // Check if we're in staged mode @@ -2634,7 +2655,6 @@ jobs: GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-test-coverage-improver.outputs.output }} GITHUB_AW_COMMENT_TARGET: "*" with: - github-token: ${{ secrets.DSYME_GH_TOKEN}} script: | async function main() { // Check if we're in staged mode @@ -2857,7 +2877,6 @@ jobs: GITHUB_AW_PR_DRAFT: "true" GITHUB_AW_PR_IF_NO_CHANGES: "warn" with: - github-token: ${{ secrets.DSYME_GH_TOKEN}} script: | /** @type {typeof import("fs")} */ const fs = require("fs"); @@ -3178,7 +3197,6 @@ jobs: GITHUB_AW_UPDATE_BODY: true GITHUB_AW_UPDATE_TARGET: "*" with: - github-token: ${{ secrets.DSYME_GH_TOKEN}} script: | async function main() { // Check if we're in staged mode diff --git a/.github/workflows/daily-test-improver.md b/.github/workflows/daily-test-improver.md index e06827e10..7c9f1c01b 100644 --- a/.github/workflows/daily-test-improver.md +++ b/.github/workflows/daily-test-improver.md @@ -23,7 +23,6 @@ safe-outputs: target: "*" # can add a comment to any one single issue or pull request create-pull-request: # can create a pull request draft: true - github-token: ${{ secrets.DSYME_GH_TOKEN}} tools: web-fetch: diff --git a/.github/workflows/pr-fix.lock.yml b/.github/workflows/pr-fix.lock.yml index d612ae020..c834bbf53 100644 --- a/.github/workflows/pr-fix.lock.yml +++ b/.github/workflows/pr-fix.lock.yml @@ -2,7 +2,7 @@ # To update this file, edit the corresponding .md file and run: # gh aw compile # -# Effective stop-time: 2025-09-19 10:02:59 +# Effective stop-time: 2025-09-19 10:32:53 name: "PR Fix" on: @@ -859,7 +859,7 @@ jobs: }, }, { - name: "add-issue-label", + name: "add-issue-labels", description: "Add labels to a GitHub issue or pull request", inputSchema: { type: "object", @@ -1071,7 +1071,7 @@ jobs: WORKFLOW_NAME="PR Fix" # Check stop-time limit - STOP_TIME="2025-09-19 10:02:59" + STOP_TIME="2025-09-19 10:32:53" echo "Checking stop-time limit: $STOP_TIME" # Convert stop time to epoch seconds @@ -1171,6 +1171,22 @@ jobs: ## Adding a Comment to an Issue or Pull Request, Creating an Issue, Pushing Changes to Branch, Reporting Missing Tools or Functionality **IMPORTANT**: To do the actions mentioned in the header of this section, use the **safe-outputs** tools, do NOT attempt to use `gh`, do NOT attempt to use the GitHub API. You don't have write access to the GitHub repo. + + **Adding a Comment to an Issue or Pull Request** + + To add a comment to an issue or pull request, use the add-issue-comments tool from the safe-outputs MCP + + **Creating an Issue** + + To create an issue, use the create-issue tool from the safe-outputs MCP + + **Pushing Changes to Pull Request Branch** + + To push changes to the branch of a pull request: + 1. Make any file changes directly in the working directory + 2. Add and commit your changes to the local copy of the pull request branch. Be careful to add exactly the files you intend, and check there are no extra files left un-added. Check you haven't deleted or changed any files you didn't intend to. + 3. Push the branch to the repo by using the push-to-pr-branch tool from the safe-outputs MCP + EOF - name: Print prompt to step summary run: | @@ -1498,7 +1514,7 @@ jobs: return 1; // Only one pull request allowed case "create-pull-request-review-comment": return 10; // Default to 10 review comments allowed - case "add-issue-label": + case "add-issue-labels": return 5; // Only one labels operation allowed case "update-issue": return 1; // Only one issue update allowed @@ -1751,10 +1767,10 @@ jobs: ); } break; - case "add-issue-label": + case "add-issue-labels": if (!item.labels || !Array.isArray(item.labels)) { errors.push( - `Line ${i + 1}: add-issue-label requires a 'labels' array field` + `Line ${i + 1}: add-issue-labels requires a 'labels' array field` ); continue; } @@ -1764,7 +1780,7 @@ jobs: ) ) { errors.push( - `Line ${i + 1}: add-issue-label labels array must contain only strings` + `Line ${i + 1}: add-issue-labels labels array must contain only strings` ); continue; }