deps(deps): update click requirement from >=8.1.0 to >=8.3.2 #13
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: Dependabot Auto-Merge | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| checks: read | |
| jobs: | |
| auto-merge: | |
| name: Auto-merge Dependabot PRs | |
| runs-on: ubuntu-latest | |
| if: github.actor == 'dependabot[bot]' | |
| steps: | |
| - name: Dependabot metadata | |
| id: metadata | |
| uses: dependabot/fetch-metadata@v2 | |
| with: | |
| github-token: "${{ secrets.GITHUB_TOKEN }}" | |
| - name: Comment on major updates | |
| if: | | |
| steps.metadata.outputs.update-type == 'version-update:semver-major' && | |
| steps.metadata.outputs.package-ecosystem != 'github_actions' | |
| run: | | |
| gh pr comment "$PR_URL" --body "⚠️ This is a **major version update**. Please review manually before merging." | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Wait for CI checks | |
| if: | | |
| steps.metadata.outputs.update-type == 'version-update:semver-patch' || | |
| steps.metadata.outputs.update-type == 'version-update:semver-minor' || | |
| steps.metadata.outputs.package-ecosystem == 'github_actions' | |
| uses: lewagon/wait-on-check-action@v1.6.0 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| check-name: 'All checks passed' | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| wait-interval: 20 | |
| - name: Auto-merge | |
| if: | | |
| steps.metadata.outputs.update-type == 'version-update:semver-patch' || | |
| steps.metadata.outputs.update-type == 'version-update:semver-minor' || | |
| steps.metadata.outputs.package-ecosystem == 'github_actions' | |
| run: | | |
| gh pr merge --auto --squash "$PR_URL" | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |