Skip to content

Commit 1f93b2c

Browse files
committed
Document flaky remediation cron schedule
1 parent 5226a61 commit 1f93b2c

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

.github/scripts/flaky-test-remediation/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ python .github/scripts/flaky-test-remediation/run-local.py --draft # opens a
5353
```
5454

5555
Requires:
56+
5657
- `git` remotes `origin` (your fork) and `upstream`
5758
(`open-telemetry/opentelemetry-java-instrumentation`)
5859
- `gh` authenticated for the upstream repo

.github/workflows/code-review-sweep.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,15 +212,9 @@ jobs:
212212
if: steps.review-loop.outputs.processed_count != '0'
213213
env:
214214
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
215+
working-directory: progress
215216
run: |
216-
set -euo pipefail
217-
cd progress
218-
219-
git config user.name otelbot
220-
git config user.email 197425009+otelbot@users.noreply.github.com
221-
222217
cat "$PROCESSED_MODULES" >> reviewed.txt
223-
224218
git add reviewed.txt
225219
git commit -m "Mark $(wc -l < "$PROCESSED_MODULES" | tr -d ' ') module(s) as reviewed"
226220
git push origin HEAD:otelbot/code-review-progress

.github/workflows/flaky-test-remediation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Flaky Test Remediation
22

33
on:
44
schedule:
5-
- cron: "0 0 * * 3"
5+
- cron: "0 0 * * 3" # weekly at 00:00 UTC on Wednesday
66
workflow_dispatch:
77

88
permissions:

0 commit comments

Comments
 (0)