fix: 🐛 Fix paginator implementation when only passing PageGroup objects and show_menu is falsy
#2418
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: "Auto Approve" | |
| on: [pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: write-all | |
| jobs: | |
| auto-approve: | |
| runs-on: ubuntu-latest | |
| if: | |
| ${{ github.actor == 'dependabot[bot]' || github.actor == 'crowdin-bot' || | |
| github.actor == 'Crowdin Bot' || github.actor_id == 106019021 || github.actor_id | |
| == 58779643 }} | |
| continue-on-error: true | |
| steps: | |
| - name: "Auto Approve" | |
| run: gh pr review --approve "$PR_URL" | |
| env: | |
| PR_URL: ${{github.event.pull_request.html_url}} | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| - name: "Enable Auto Merge" | |
| if: ${{ always() }} | |
| run: gh pr merge --auto --squash "$PR_URL" | |
| env: | |
| PR_URL: ${{github.event.pull_request.html_url}} | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |