File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - ' src/settings*.qml'
77 - ' src/settings-catalog.json'
88 - ' scripts/settings_audit.py'
9- - ' scripts/phase4_behavior_parity.py'
109 - ' tests/test_settings_audit.py'
1110 - ' tests/test_settings_behavior_migration.py'
1211 - ' tests/test_modern_settings_preview.py'
1615 workflow_dispatch :
1716
1817permissions :
19- contents : write
18+ contents : read
2019
2120jobs :
2221 audit :
@@ -26,27 +25,10 @@ jobs:
2625 steps :
2726 - uses : actions/checkout@v4
2827 with :
29- ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref_name }}
3028 fetch-depth : 1
3129 - uses : actions/setup-python@v5
3230 with :
3331 python-version : ' 3.11'
34- - name : Apply Phase 4 behavior parity migration
35- if : github.event_name == 'pull_request' && github.event.pull_request.head.ref == 'agent/settings-refactor-phase1-safety'
36- run : python3 scripts/phase4_behavior_parity.py
37- - name : Commit Phase 4 behavior parity migration
38- if : github.event_name == 'pull_request' && github.event.pull_request.head.ref == 'agent/settings-refactor-phase1-safety'
39- shell : bash
40- run : |
41- if git diff --quiet -- src/settings.qml src/settings-catalog.json; then
42- echo 'Phase 4 migration already applied.'
43- else
44- git config user.name 'github-actions[bot]'
45- git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
46- git add src/settings.qml src/settings-catalog.json
47- git commit -m 'Preserve legacy settings behavior in modern UI'
48- git push origin HEAD:${{ github.event.pull_request.head.ref }}
49- fi
5032 - name : Test settings refactor infrastructure
5133 run : >-
5234 python3 -m unittest
You can’t perform that action at this time.
0 commit comments