fix: preprocess scoped OIDC migration edit

This commit is contained in:
Aaron Liang
2026-07-15 00:13:02 +08:00
parent 578ad74e76
commit 0f97680c36
@@ -4,6 +4,7 @@ on:
push: push:
paths: paths:
- tools/apply_remaining_hardening.py - tools/apply_remaining_hardening.py
- tools/fix_remaining_patch_oidc_scope.py
- .github/workflows/temp-remaining-hardening.yml - .github/workflows/temp-remaining-hardening.yml
workflow_dispatch: workflow_dispatch:
@@ -15,13 +16,15 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Repair OIDC migration scope
run: python tools/fix_remaining_patch_oidc_scope.py
- name: Apply source migration - name: Apply source migration
run: python tools/apply_remaining_hardening.py run: python tools/apply_remaining_hardening.py
- name: Commit source changes and remove temporary files - name: Commit source changes and remove temporary files
run: | run: |
git config user.name "github-actions[bot]" git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git rm -f tools/apply_remaining_hardening.py .github/workflows/temp-remaining-hardening.yml git rm -f tools/apply_remaining_hardening.py tools/fix_remaining_patch_oidc_scope.py .github/workflows/temp-remaining-hardening.yml
git add -A git add -A
git commit -m "fix: complete remaining registration hardening" git commit -m "fix: complete remaining registration hardening"
git push git push