Skip to content

Commit abc09f0

Browse files
committed
Restore permanent read-only settings audit
1 parent 4bfa0c0 commit abc09f0

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

.github/workflows/settings-audit.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
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'
@@ -16,7 +15,7 @@ on:
1615
workflow_dispatch:
1716

1817
permissions:
19-
contents: write
18+
contents: read
2019

2120
jobs:
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

0 commit comments

Comments
 (0)