Skip to content

Commit 1b81bb5

Browse files
committed
ci(checks): remove accidentally committed duration files
Add a cleanup step to the update-session-weights workflow to delete the temporary measured-durations-*.json files before create-pull-request runs, preventing them from being included in the automated commit.
1 parent dd80824 commit 1b81bb5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/update-session-weights.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
if: steps.check.outputs.drifted == 'true'
6464
run: |
6565
python ./py/scripts/check-session-weights.py --update measured-durations-*.json
66+
- name: Remove temporary duration files
67+
if: steps.check.outputs.drifted == 'true'
68+
run: rm -f measured-durations-*.json
6669
- name: Create pull request
6770
if: steps.check.outputs.drifted == 'true'
6871
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8

0 commit comments

Comments
 (0)