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 ```
21 lines
376 B
YAML
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 }}'
|