mirror of
https://github.com/Z3Prover/z3
synced 2025-10-02 05:59:29 +00:00
update workflows
This commit is contained in:
parent
db8206d265
commit
7268136bb6
9 changed files with 130 additions and 55 deletions
19
.github/workflows/ask.lock.yml
generated
vendored
19
.github/workflows/ask.lock.yml
generated
vendored
|
@ -2,7 +2,7 @@
|
||||||
# To update this file, edit the corresponding .md file and run:
|
# To update this file, edit the corresponding .md file and run:
|
||||||
# gh aw compile
|
# 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"
|
name: "Question Answering Researcher"
|
||||||
on:
|
on:
|
||||||
|
@ -854,7 +854,7 @@ jobs:
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "add-issue-label",
|
name: "add-issue-labels",
|
||||||
description: "Add labels to a GitHub issue or pull request",
|
description: "Add labels to a GitHub issue or pull request",
|
||||||
inputSchema: {
|
inputSchema: {
|
||||||
type: "object",
|
type: "object",
|
||||||
|
@ -1066,7 +1066,7 @@ jobs:
|
||||||
WORKFLOW_NAME="Question Answering Researcher"
|
WORKFLOW_NAME="Question Answering Researcher"
|
||||||
|
|
||||||
# Check stop-time limit
|
# 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"
|
echo "Checking stop-time limit: $STOP_TIME"
|
||||||
|
|
||||||
# Convert stop time to epoch seconds
|
# 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
|
## 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.
|
**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
|
EOF
|
||||||
- name: Print prompt to step summary
|
- name: Print prompt to step summary
|
||||||
run: |
|
run: |
|
||||||
|
@ -1478,7 +1483,7 @@ jobs:
|
||||||
return 1; // Only one pull request allowed
|
return 1; // Only one pull request allowed
|
||||||
case "create-pull-request-review-comment":
|
case "create-pull-request-review-comment":
|
||||||
return 10; // Default to 10 review comments allowed
|
return 10; // Default to 10 review comments allowed
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
return 5; // Only one labels operation allowed
|
return 5; // Only one labels operation allowed
|
||||||
case "update-issue":
|
case "update-issue":
|
||||||
return 1; // Only one issue update allowed
|
return 1; // Only one issue update allowed
|
||||||
|
@ -1731,10 +1736,10 @@ jobs:
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
if (!item.labels || !Array.isArray(item.labels)) {
|
if (!item.labels || !Array.isArray(item.labels)) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1744,7 +1749,7 @@ jobs:
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
23
.github/workflows/ci-doctor.lock.yml
generated
vendored
23
.github/workflows/ci-doctor.lock.yml
generated
vendored
|
@ -2,7 +2,7 @@
|
||||||
# To update this file, edit the corresponding .md file and run:
|
# To update this file, edit the corresponding .md file and run:
|
||||||
# gh aw compile
|
# 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"
|
name: "CI Failure Doctor"
|
||||||
"on":
|
"on":
|
||||||
|
@ -335,7 +335,7 @@ jobs:
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "add-issue-label",
|
name: "add-issue-labels",
|
||||||
description: "Add labels to a GitHub issue or pull request",
|
description: "Add labels to a GitHub issue or pull request",
|
||||||
inputSchema: {
|
inputSchema: {
|
||||||
type: "object",
|
type: "object",
|
||||||
|
@ -547,7 +547,7 @@ jobs:
|
||||||
WORKFLOW_NAME="CI Failure Doctor"
|
WORKFLOW_NAME="CI Failure Doctor"
|
||||||
|
|
||||||
# Check stop-time limit
|
# 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"
|
echo "Checking stop-time limit: $STOP_TIME"
|
||||||
|
|
||||||
# Convert stop time to epoch seconds
|
# 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
|
## 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.
|
**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
|
EOF
|
||||||
- name: Print prompt to step summary
|
- name: Print prompt to step summary
|
||||||
run: |
|
run: |
|
||||||
|
@ -1088,7 +1097,7 @@ jobs:
|
||||||
return 1; // Only one pull request allowed
|
return 1; // Only one pull request allowed
|
||||||
case "create-pull-request-review-comment":
|
case "create-pull-request-review-comment":
|
||||||
return 10; // Default to 10 review comments allowed
|
return 10; // Default to 10 review comments allowed
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
return 5; // Only one labels operation allowed
|
return 5; // Only one labels operation allowed
|
||||||
case "update-issue":
|
case "update-issue":
|
||||||
return 1; // Only one issue update allowed
|
return 1; // Only one issue update allowed
|
||||||
|
@ -1341,10 +1350,10 @@ jobs:
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
if (!item.labels || !Array.isArray(item.labels)) {
|
if (!item.labels || !Array.isArray(item.labels)) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1354,7 +1363,7 @@ jobs:
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
35
.github/workflows/daily-backlog-burner.lock.yml
generated
vendored
35
.github/workflows/daily-backlog-burner.lock.yml
generated
vendored
|
@ -2,7 +2,7 @@
|
||||||
# To update this file, edit the corresponding .md file and run:
|
# To update this file, edit the corresponding .md file and run:
|
||||||
# gh aw compile
|
# 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"
|
name: "Daily Backlog Burner"
|
||||||
"on":
|
"on":
|
||||||
|
@ -315,7 +315,7 @@ jobs:
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "add-issue-label",
|
name: "add-issue-labels",
|
||||||
description: "Add labels to a GitHub issue or pull request",
|
description: "Add labels to a GitHub issue or pull request",
|
||||||
inputSchema: {
|
inputSchema: {
|
||||||
type: "object",
|
type: "object",
|
||||||
|
@ -527,7 +527,7 @@ jobs:
|
||||||
WORKFLOW_NAME="Daily Backlog Burner"
|
WORKFLOW_NAME="Daily Backlog Burner"
|
||||||
|
|
||||||
# Check stop-time limit
|
# 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"
|
echo "Checking stop-time limit: $STOP_TIME"
|
||||||
|
|
||||||
# Convert stop time to epoch seconds
|
# 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
|
## 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.
|
**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
|
EOF
|
||||||
- name: Print prompt to step summary
|
- name: Print prompt to step summary
|
||||||
run: |
|
run: |
|
||||||
|
@ -992,7 +1010,7 @@ jobs:
|
||||||
return 1; // Only one pull request allowed
|
return 1; // Only one pull request allowed
|
||||||
case "create-pull-request-review-comment":
|
case "create-pull-request-review-comment":
|
||||||
return 10; // Default to 10 review comments allowed
|
return 10; // Default to 10 review comments allowed
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
return 5; // Only one labels operation allowed
|
return 5; // Only one labels operation allowed
|
||||||
case "update-issue":
|
case "update-issue":
|
||||||
return 1; // Only one issue update allowed
|
return 1; // Only one issue update allowed
|
||||||
|
@ -1245,10 +1263,10 @@ jobs:
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
if (!item.labels || !Array.isArray(item.labels)) {
|
if (!item.labels || !Array.isArray(item.labels)) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1258,7 +1276,7 @@ jobs:
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -2388,7 +2406,6 @@ jobs:
|
||||||
GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-backlog-burner.outputs.output }}
|
GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-backlog-burner.outputs.output }}
|
||||||
GITHUB_AW_ISSUE_TITLE_PREFIX: "${{ github.workflow }}"
|
GITHUB_AW_ISSUE_TITLE_PREFIX: "${{ github.workflow }}"
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
script: |
|
script: |
|
||||||
async function main() {
|
async function main() {
|
||||||
// Check if we're in staged mode
|
// Check if we're in staged mode
|
||||||
|
@ -2588,7 +2605,6 @@ jobs:
|
||||||
GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-backlog-burner.outputs.output }}
|
GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-backlog-burner.outputs.output }}
|
||||||
GITHUB_AW_COMMENT_TARGET: "*"
|
GITHUB_AW_COMMENT_TARGET: "*"
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
script: |
|
script: |
|
||||||
async function main() {
|
async function main() {
|
||||||
// Check if we're in staged mode
|
// Check if we're in staged mode
|
||||||
|
@ -2811,7 +2827,6 @@ jobs:
|
||||||
GITHUB_AW_PR_DRAFT: "true"
|
GITHUB_AW_PR_DRAFT: "true"
|
||||||
GITHUB_AW_PR_IF_NO_CHANGES: "warn"
|
GITHUB_AW_PR_IF_NO_CHANGES: "warn"
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
script: |
|
script: |
|
||||||
/** @type {typeof import("fs")} */
|
/** @type {typeof import("fs")} */
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
|
|
1
.github/workflows/daily-backlog-burner.md
vendored
1
.github/workflows/daily-backlog-burner.md
vendored
|
@ -19,7 +19,6 @@ safe-outputs:
|
||||||
max: 3
|
max: 3
|
||||||
create-pull-request:
|
create-pull-request:
|
||||||
draft: true
|
draft: true
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
|
|
||||||
tools:
|
tools:
|
||||||
web-fetch:
|
web-fetch:
|
||||||
|
|
35
.github/workflows/daily-perf-improver.lock.yml
generated
vendored
35
.github/workflows/daily-perf-improver.lock.yml
generated
vendored
|
@ -2,7 +2,7 @@
|
||||||
# To update this file, edit the corresponding .md file and run:
|
# To update this file, edit the corresponding .md file and run:
|
||||||
# gh aw compile
|
# 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"
|
name: "Daily Perf Improver"
|
||||||
"on":
|
"on":
|
||||||
|
@ -329,7 +329,7 @@ jobs:
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "add-issue-label",
|
name: "add-issue-labels",
|
||||||
description: "Add labels to a GitHub issue or pull request",
|
description: "Add labels to a GitHub issue or pull request",
|
||||||
inputSchema: {
|
inputSchema: {
|
||||||
type: "object",
|
type: "object",
|
||||||
|
@ -541,7 +541,7 @@ jobs:
|
||||||
WORKFLOW_NAME="Daily Perf Improver"
|
WORKFLOW_NAME="Daily Perf Improver"
|
||||||
|
|
||||||
# Check stop-time limit
|
# 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"
|
echo "Checking stop-time limit: $STOP_TIME"
|
||||||
|
|
||||||
# Convert stop time to epoch seconds
|
# 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
|
## 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.
|
**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
|
EOF
|
||||||
- name: Print prompt to step summary
|
- name: Print prompt to step summary
|
||||||
run: |
|
run: |
|
||||||
|
@ -1067,7 +1085,7 @@ jobs:
|
||||||
return 1; // Only one pull request allowed
|
return 1; // Only one pull request allowed
|
||||||
case "create-pull-request-review-comment":
|
case "create-pull-request-review-comment":
|
||||||
return 10; // Default to 10 review comments allowed
|
return 10; // Default to 10 review comments allowed
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
return 5; // Only one labels operation allowed
|
return 5; // Only one labels operation allowed
|
||||||
case "update-issue":
|
case "update-issue":
|
||||||
return 1; // Only one issue update allowed
|
return 1; // Only one issue update allowed
|
||||||
|
@ -1320,10 +1338,10 @@ jobs:
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
if (!item.labels || !Array.isArray(item.labels)) {
|
if (!item.labels || !Array.isArray(item.labels)) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1333,7 +1351,7 @@ jobs:
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -2463,7 +2481,6 @@ jobs:
|
||||||
GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-perf-improver.outputs.output }}
|
GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-perf-improver.outputs.output }}
|
||||||
GITHUB_AW_ISSUE_TITLE_PREFIX: "${{ github.workflow }}"
|
GITHUB_AW_ISSUE_TITLE_PREFIX: "${{ github.workflow }}"
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
script: |
|
script: |
|
||||||
async function main() {
|
async function main() {
|
||||||
// Check if we're in staged mode
|
// Check if we're in staged mode
|
||||||
|
@ -2663,7 +2680,6 @@ jobs:
|
||||||
GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-perf-improver.outputs.output }}
|
GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-perf-improver.outputs.output }}
|
||||||
GITHUB_AW_COMMENT_TARGET: "*"
|
GITHUB_AW_COMMENT_TARGET: "*"
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
script: |
|
script: |
|
||||||
async function main() {
|
async function main() {
|
||||||
// Check if we're in staged mode
|
// Check if we're in staged mode
|
||||||
|
@ -2886,7 +2902,6 @@ jobs:
|
||||||
GITHUB_AW_PR_DRAFT: "true"
|
GITHUB_AW_PR_DRAFT: "true"
|
||||||
GITHUB_AW_PR_IF_NO_CHANGES: "warn"
|
GITHUB_AW_PR_IF_NO_CHANGES: "warn"
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
script: |
|
script: |
|
||||||
/** @type {typeof import("fs")} */
|
/** @type {typeof import("fs")} */
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
|
|
1
.github/workflows/daily-perf-improver.md
vendored
1
.github/workflows/daily-perf-improver.md
vendored
|
@ -20,7 +20,6 @@ safe-outputs:
|
||||||
target: "*" # can add a comment to any one single issue or pull request
|
target: "*" # can add a comment to any one single issue or pull request
|
||||||
create-pull-request:
|
create-pull-request:
|
||||||
draft: true
|
draft: true
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
|
|
||||||
tools:
|
tools:
|
||||||
web-fetch:
|
web-fetch:
|
||||||
|
|
40
.github/workflows/daily-test-improver.lock.yml
generated
vendored
40
.github/workflows/daily-test-improver.lock.yml
generated
vendored
|
@ -2,7 +2,7 @@
|
||||||
# To update this file, edit the corresponding .md file and run:
|
# To update this file, edit the corresponding .md file and run:
|
||||||
# gh aw compile
|
# 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"
|
name: "Daily Test Coverage Improver"
|
||||||
"on":
|
"on":
|
||||||
|
@ -329,7 +329,7 @@ jobs:
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "add-issue-label",
|
name: "add-issue-labels",
|
||||||
description: "Add labels to a GitHub issue or pull request",
|
description: "Add labels to a GitHub issue or pull request",
|
||||||
inputSchema: {
|
inputSchema: {
|
||||||
type: "object",
|
type: "object",
|
||||||
|
@ -541,7 +541,7 @@ jobs:
|
||||||
WORKFLOW_NAME="Daily Test Coverage Improver"
|
WORKFLOW_NAME="Daily Test Coverage Improver"
|
||||||
|
|
||||||
# Check stop-time limit
|
# 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"
|
echo "Checking stop-time limit: $STOP_TIME"
|
||||||
|
|
||||||
# Convert stop time to epoch seconds
|
# 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
|
## 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.
|
**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
|
EOF
|
||||||
- name: Print prompt to step summary
|
- name: Print prompt to step summary
|
||||||
run: |
|
run: |
|
||||||
|
@ -1038,7 +1060,7 @@ jobs:
|
||||||
return 1; // Only one pull request allowed
|
return 1; // Only one pull request allowed
|
||||||
case "create-pull-request-review-comment":
|
case "create-pull-request-review-comment":
|
||||||
return 10; // Default to 10 review comments allowed
|
return 10; // Default to 10 review comments allowed
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
return 5; // Only one labels operation allowed
|
return 5; // Only one labels operation allowed
|
||||||
case "update-issue":
|
case "update-issue":
|
||||||
return 1; // Only one issue update allowed
|
return 1; // Only one issue update allowed
|
||||||
|
@ -1291,10 +1313,10 @@ jobs:
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
if (!item.labels || !Array.isArray(item.labels)) {
|
if (!item.labels || !Array.isArray(item.labels)) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1304,7 +1326,7 @@ jobs:
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -2434,7 +2456,6 @@ jobs:
|
||||||
GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-test-coverage-improver.outputs.output }}
|
GITHUB_AW_AGENT_OUTPUT: ${{ needs.daily-test-coverage-improver.outputs.output }}
|
||||||
GITHUB_AW_ISSUE_TITLE_PREFIX: "${{ github.workflow }}"
|
GITHUB_AW_ISSUE_TITLE_PREFIX: "${{ github.workflow }}"
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
script: |
|
script: |
|
||||||
async function main() {
|
async function main() {
|
||||||
// Check if we're in staged mode
|
// 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_AGENT_OUTPUT: ${{ needs.daily-test-coverage-improver.outputs.output }}
|
||||||
GITHUB_AW_COMMENT_TARGET: "*"
|
GITHUB_AW_COMMENT_TARGET: "*"
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
script: |
|
script: |
|
||||||
async function main() {
|
async function main() {
|
||||||
// Check if we're in staged mode
|
// Check if we're in staged mode
|
||||||
|
@ -2857,7 +2877,6 @@ jobs:
|
||||||
GITHUB_AW_PR_DRAFT: "true"
|
GITHUB_AW_PR_DRAFT: "true"
|
||||||
GITHUB_AW_PR_IF_NO_CHANGES: "warn"
|
GITHUB_AW_PR_IF_NO_CHANGES: "warn"
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
script: |
|
script: |
|
||||||
/** @type {typeof import("fs")} */
|
/** @type {typeof import("fs")} */
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
|
@ -3178,7 +3197,6 @@ jobs:
|
||||||
GITHUB_AW_UPDATE_BODY: true
|
GITHUB_AW_UPDATE_BODY: true
|
||||||
GITHUB_AW_UPDATE_TARGET: "*"
|
GITHUB_AW_UPDATE_TARGET: "*"
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
script: |
|
script: |
|
||||||
async function main() {
|
async function main() {
|
||||||
// Check if we're in staged mode
|
// Check if we're in staged mode
|
||||||
|
|
1
.github/workflows/daily-test-improver.md
vendored
1
.github/workflows/daily-test-improver.md
vendored
|
@ -23,7 +23,6 @@ safe-outputs:
|
||||||
target: "*" # can add a comment to any one single issue or pull request
|
target: "*" # can add a comment to any one single issue or pull request
|
||||||
create-pull-request: # can create a pull request
|
create-pull-request: # can create a pull request
|
||||||
draft: true
|
draft: true
|
||||||
github-token: ${{ secrets.DSYME_GH_TOKEN}}
|
|
||||||
|
|
||||||
tools:
|
tools:
|
||||||
web-fetch:
|
web-fetch:
|
||||||
|
|
30
.github/workflows/pr-fix.lock.yml
generated
vendored
30
.github/workflows/pr-fix.lock.yml
generated
vendored
|
@ -2,7 +2,7 @@
|
||||||
# To update this file, edit the corresponding .md file and run:
|
# To update this file, edit the corresponding .md file and run:
|
||||||
# gh aw compile
|
# gh aw compile
|
||||||
#
|
#
|
||||||
# Effective stop-time: 2025-09-19 10:02:59
|
# Effective stop-time: 2025-09-19 10:32:53
|
||||||
|
|
||||||
name: "PR Fix"
|
name: "PR Fix"
|
||||||
on:
|
on:
|
||||||
|
@ -859,7 +859,7 @@ jobs:
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "add-issue-label",
|
name: "add-issue-labels",
|
||||||
description: "Add labels to a GitHub issue or pull request",
|
description: "Add labels to a GitHub issue or pull request",
|
||||||
inputSchema: {
|
inputSchema: {
|
||||||
type: "object",
|
type: "object",
|
||||||
|
@ -1071,7 +1071,7 @@ jobs:
|
||||||
WORKFLOW_NAME="PR Fix"
|
WORKFLOW_NAME="PR Fix"
|
||||||
|
|
||||||
# Check stop-time limit
|
# 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"
|
echo "Checking stop-time limit: $STOP_TIME"
|
||||||
|
|
||||||
# Convert stop time to epoch seconds
|
# 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
|
## 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.
|
**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
|
EOF
|
||||||
- name: Print prompt to step summary
|
- name: Print prompt to step summary
|
||||||
run: |
|
run: |
|
||||||
|
@ -1498,7 +1514,7 @@ jobs:
|
||||||
return 1; // Only one pull request allowed
|
return 1; // Only one pull request allowed
|
||||||
case "create-pull-request-review-comment":
|
case "create-pull-request-review-comment":
|
||||||
return 10; // Default to 10 review comments allowed
|
return 10; // Default to 10 review comments allowed
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
return 5; // Only one labels operation allowed
|
return 5; // Only one labels operation allowed
|
||||||
case "update-issue":
|
case "update-issue":
|
||||||
return 1; // Only one issue update allowed
|
return 1; // Only one issue update allowed
|
||||||
|
@ -1751,10 +1767,10 @@ jobs:
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "add-issue-label":
|
case "add-issue-labels":
|
||||||
if (!item.labels || !Array.isArray(item.labels)) {
|
if (!item.labels || !Array.isArray(item.labels)) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1764,7 +1780,7 @@ jobs:
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
errors.push(
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue