Skip to content

Commit

Permalink
Merge pull request #123 from projectdiscovery/add_automerge
Browse files Browse the repository at this point in the history
add auto merge
  • Loading branch information
Mzack9999 authored Jan 24, 2025
2 parents c8f3fc2 + a7c6750 commit 1613634
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dep-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 🤖 dep auto merge

on:
pull_request:
branches:
- main
workflow_dispatch:

permissions:
pull-requests: write
issues: write
repository-projects: write

jobs:
automerge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.DEPENDABOT_PAT }}

- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
github-token: ${{ secrets.DEPENDABOT_PAT }}
target: all

0 comments on commit 1613634

Please sign in to comment.