Author SHA1 Message Date
Rushaway d37b42b552 ci: add Dependabot auto-merge workflow 2026-08-18 14:04:22 +02:00
RushawayandRushaway 996f725204 chore(ci): bump actions/checkout from v4 to v7 (#5)
Co-authored-by: Rushaway <[email protected]>
2026-08-18 13:39:23 +02:00
2 changed files with 26 additions and 2 deletions
+2 -2
View File
@@ -41,12 +41,12 @@ jobs:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v7
with: with:
path: extension path: extension
- name: Checkout SourceMod ${{ matrix.sourcemod-version }} - name: Checkout SourceMod ${{ matrix.sourcemod-version }}
uses: actions/checkout@v4 uses: actions/checkout@v7
with: with:
repository: alliedmodders/sourcemod repository: alliedmodders/sourcemod
ref: ${{ matrix.sourcemod-version }} ref: ${{ matrix.sourcemod-version }}
@@ -0,0 +1,24 @@
name: Dependabot auto-merge
on:
pull_request_target:
branches:
- master
- main
types:
- opened
permissions:
pull-requests: write
contents: write
jobs:
enableAutoMerge:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}