Skip to content

Commit a6e9f42

Browse files
committed
update improvers
1 parent 5441890 commit a6e9f42

File tree

4 files changed

+94
-67
lines changed

4 files changed

+94
-67
lines changed

.github/workflows/daily-perf-improver.lock.yml

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/daily-perf-improver.md

Lines changed: 45 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,59 @@
11
---
22
on:
3-
schedule:
4-
- cron: 0 2 * * 1-5
5-
stop-after: +48h
6-
workflow_dispatch: null
3+
workflow_dispatch:
4+
schedule:
5+
# Run daily at 2am UTC, all days except Saturday and Sunday
6+
- cron: "0 2 * * 1-5"
7+
stop-after: +48h # workflow will no longer trigger after 48 hours
8+
9+
timeout_minutes: 30
10+
11+
engine: claude
12+
713
permissions: read-all
14+
815
network: defaults
16+
917
safe-outputs:
10-
add-comment:
11-
target: "*"
1218
create-discussion:
13-
category: ideas
19+
title-prefix: "${{ github.workflow }}"
20+
category: "ideas"
1421
max: 5
15-
title-prefix: ${{ github.workflow }}
22+
add-comment:
23+
discussion: true
24+
target: "*" # can add a comment to any one single issue or pull request
1625
create-pull-request:
1726
draft: true
27+
28+
tools:
29+
web-fetch:
30+
web-search:
31+
32+
# Configure bash build commands here, or in .github/workflows/agentics/daily-dependency-updates.config.md
33+
#
34+
# By default this workflow allows all bash commands within the confine of Github Actions VM
35+
bash: [ ":*" ]
36+
1837
steps:
19-
- name: Checkout repository
20-
uses: actions/checkout@v5
21-
- id: check_build_steps_file
22-
name: Check if action.yml exists
23-
run: |
24-
if [ -f ".github/actions/daily-perf-improver/build-steps/action.yml" ]; then
25-
echo "exists=true" >> $GITHUB_OUTPUT
26-
else
27-
echo "exists=false" >> $GITHUB_OUTPUT
28-
fi
29-
shell: bash
30-
- continue-on-error: true
31-
id: build-steps
32-
if: steps.check_build_steps_file.outputs.exists == 'true'
33-
name: Build the project ready for performance testing, logging to build-steps.log
34-
uses: ./.github/actions/daily-perf-improver/build-steps
35-
engine: claude
38+
- name: Checkout repository
39+
uses: actions/checkout@v5
40+
41+
- name: Check if action.yml exists
42+
id: check_build_steps_file
43+
run: |
44+
if [ -f ".github/actions/daily-perf-improver/build-steps/action.yml" ]; then
45+
echo "exists=true" >> $GITHUB_OUTPUT
46+
else
47+
echo "exists=false" >> $GITHUB_OUTPUT
48+
fi
49+
shell: bash
50+
- name: Build the project ready for performance testing, logging to build-steps.log
51+
if: steps.check_build_steps_file.outputs.exists == 'true'
52+
uses: ./.github/actions/daily-perf-improver/build-steps
53+
id: build-steps
54+
continue-on-error: true # the model may not have got it right, so continue anyway, the model will check the results and try to fix the steps
55+
3656
source: githubnext/agentics/workflows/daily-perf-improver.md@ebedab5169a6ed038d5382fd8b329b7bd0042fc0
37-
timeout_minutes: 30
38-
tools:
39-
bash:
40-
- :*
41-
web-fetch: null
42-
web-search: null
4357
---
4458
# Daily Perf Improver
4559

.github/workflows/daily-test-improver.lock.yml

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/daily-test-improver.md

Lines changed: 43 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,55 @@
11
---
22
on:
3-
schedule:
4-
- cron: 0 2 * * 1-5
5-
stop-after: +48h
6-
workflow_dispatch: null
3+
workflow_dispatch:
4+
schedule:
5+
# Run daily at 2am UTC, all days except Saturday and Sunday
6+
- cron: "0 2 * * 1-5"
7+
stop-after: +48h # workflow will no longer trigger after 48 hours
8+
9+
timeout_minutes: 30
10+
11+
engine: claude
12+
713
permissions: read-all
14+
815
network: defaults
16+
917
safe-outputs:
18+
create-discussion: # needed to create planning discussion
19+
title-prefix: "${{ github.workflow }}"
20+
category: "ideas"
1021
add-comment:
11-
target: "*"
12-
create-discussion:
13-
category: ideas
14-
title-prefix: ${{ github.workflow }}
15-
create-pull-request:
22+
discussion: true
23+
target: "*" # can add a comment to any one single issue or pull request
24+
create-pull-request: # can create a pull request
1625
draft: true
26+
27+
tools:
28+
web-fetch:
29+
web-search:
30+
# By default this workflow allows all bash commands within the confine of Github Actions VM
31+
bash: [ ":*" ]
32+
1733
steps:
18-
- name: Checkout repository
19-
uses: actions/checkout@v5
20-
- id: check_coverage_steps_file
21-
name: Check if action.yml exists
22-
run: |
23-
if [ -f ".github/actions/daily-test-improver/coverage-steps/action.yml" ]; then
24-
echo "exists=true" >> $GITHUB_OUTPUT
25-
else
26-
echo "exists=false" >> $GITHUB_OUTPUT
27-
fi
28-
shell: bash
29-
- continue-on-error: true
30-
id: coverage-steps
31-
if: steps.check_coverage_steps_file.outputs.exists == 'true'
32-
name: Build the project and produce coverage report, logging to coverage-steps.log
33-
uses: ./.github/actions/daily-test-improver/coverage-steps
34-
engine: claude
34+
- name: Checkout repository
35+
uses: actions/checkout@v5
36+
37+
- name: Check if action.yml exists
38+
id: check_coverage_steps_file
39+
run: |
40+
if [ -f ".github/actions/daily-test-improver/coverage-steps/action.yml" ]; then
41+
echo "exists=true" >> $GITHUB_OUTPUT
42+
else
43+
echo "exists=false" >> $GITHUB_OUTPUT
44+
fi
45+
shell: bash
46+
- name: Build the project and produce coverage report, logging to coverage-steps.log
47+
if: steps.check_coverage_steps_file.outputs.exists == 'true'
48+
uses: ./.github/actions/daily-test-improver/coverage-steps
49+
id: coverage-steps
50+
continue-on-error: true # the model may not have got it right, so continue anyway, the model will check the results and try to fix the steps
51+
3552
source: githubnext/agentics/workflows/daily-test-improver.md@ebedab5169a6ed038d5382fd8b329b7bd0042fc0
36-
timeout_minutes: 30
37-
tools:
38-
bash:
39-
- :*
40-
web-fetch: null
41-
web-search: null
4253
---
4354
# Daily Test Coverage Improver
4455

0 commit comments

Comments
 (0)