fix(account): clear route cache after restoration to prevent unintended redirects #32769
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Commitlint | |
| on: | |
| push: | |
| branches: | |
| - 'push-action/**' | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint-commits: | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node and pnpm | |
| uses: silverhand-io/actions-node-pnpm-run-steps@v5 | |
| with: | |
| pnpm-version: 10 | |
| node-version: ^22.14.0 | |
| - name: Commitlint | |
| # Credit to https://stackoverflow.com/a/67365254/12514940 | |
| run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose | |
| - name: Commitlint on PR title | |
| run: echo '${{ github.event.pull_request.title }}' | npx commitlint |