feat(progress): add Continue Watching smart sort #4277
Workflow file for this run
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: The Gatekeeper's Grimoire aka PR Gate | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| commitlint: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Unveiling the Code Codex | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Scrutinizing the Commit Chronicle | |
| uses: wagoid/commitlint-github-action@v3 | |
| - name: Exterminating the Fixup Fiends | |
| uses: vladjerca/no-fixups-action@main | |
| with: | |
| skip-checkout: true | |
| merge: | |
| # Skip on fork PRs: they can't read GH_APP_ID/GH_APP_PRIVATE_KEY, so the | |
| # token step hard-fails. A maintainer enables auto-merge manually instead. | |
| if: github.event.pull_request.draft == false && github.event.pull_request.base.ref == 'main' && github.head_ref != 'i18n_crowdin_updates' && github.event.pull_request.head.repo.full_name == github.repository | |
| name: The Convergence of Realms (Enable Auto Merge) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Summoning the GitHub App Token | |
| uses: actions/create-github-app-token@v2 | |
| id: generate-token | |
| with: | |
| app-id: ${{ secrets.GH_APP_ID }} | |
| private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} | |
| - name: Unveiling the Repository | |
| uses: actions/checkout@v4 | |
| - name: Use the Power of GitHub CLI | |
| run: gh pr merge --rebase --auto ${{ github.event.pull_request.number }} | |
| env: | |
| GH_TOKEN: ${{ steps.generate-token.outputs.token }} |