mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-22 14:59:09 +00:00
Auto merge script
This commit is contained in:
parent
c2382ee29b
commit
1a508918a2
1 changed files with 20 additions and 0 deletions
20
.github/workflows/auto-merge.yaml
vendored
Normal file
20
.github/workflows/auto-merge.yaml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Dependabot Auto Merge
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types: [labeled]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
auto:
|
||||||
|
if: github.actor == 'dependabot[bot]'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Auto approve pull request, then squash and merge
|
||||||
|
uses: ahmadnassri/action-dependabot-auto-merge@v2
|
||||||
|
with:
|
||||||
|
target: minor
|
||||||
|
# here `PAT_REPO_ADMIN` is a user's passkey provided by github.
|
||||||
|
github-token: ${{ secrets.PAT_REPO_ADMIN }}
|
Loading…
Add table
Reference in a new issue