Author SHA1 Message Date
RushawayandRushaway 6a182794ec ci: add Dependabot config for github-actions updates (#7)
Co-authored-by: Rushaway <[email protected]>
2026-08-18 14:34:06 +02:00
Rushaway 0686966bd5 ci: add Dependabot auto-merge workflow (#6) 2026-08-18 14:04:50 +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
3 changed files with 32 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
+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 }}