feat: Add all 11 pattern implementations with E2E tests #1
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, labeled] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| auto-merge: | |
| 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: Auto-merge patch updates | |
| if: steps.metadata.outputs.update-type == 'version-update:semver-patch' | |
| run: | | |
| echo "Auto-merging patch update: ${{ github.event.pull_request.title }}" | |
| gh pr merge --auto --squash "${{ github.event.pull_request.html_url }}" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Comment on minor/major updates | |
| if: steps.metadata.outputs.update-type != 'version-update:semver-patch' | |
| run: | | |
| echo "Minor/major update detected - requires human review" | |
| gh pr comment "${{ github.event.pull_request.html_url }}" --body "⚠️ This is a **${{ steps.metadata.outputs.update-type }}** update and requires human review before merging." | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |