Files
djinit/.github/workflows/dependabot-auto-merge.yml
T
sankalp 5c6888ff28 ci(workflows): update dependabot auto-merge workflow
The dependabot auto-merge workflow has been updated to use a new action and simplified logic for merging pull requests.

- **Enhancements & Refinements**:
  - Replaced `dependabot/fetch-metadata` and `peter-evans/enable-pull-request-automerge` with `fastify/github-action-merge-dependabot`
  - Simplified the workflow by removing conditional logic for update types
  - Updated the condition syntax to use explicit expression syntax
  - Added explicit `github-token` configuration for the new action
```
2025-12-24 23:04:36 +05:45

21 lines
376 B
YAML

name: Dependabot Auto-Merge
on:
pull_request:
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
if: ${{github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- name: Merge PR from dependabot
uses: fastify/github-action-merge-dependabot@v3
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'