2 Commits
Author SHA1 Message Date
Rushaway d14e7c7d93 ci: add Dependabot auto-merge workflow (#8) 2026-08-18 14:11:36 +02:00
Rushaway 5b4b1ab76c fix(ci): Update for SM 1.13 (#7) 2026-08-07 12:18:28 +02:00
2 changed files with 29 additions and 0 deletions
@@ -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 }}
+5
View File
@@ -22,6 +22,11 @@ for sdk_name in Extension.sdks:
Extension.AddCDetour(binary) Extension.AddCDetour(binary)
# Silence fatal errors on unrecognized Clang warning flags from CDetour
if cxx.family in ['gcc', 'clang']:
binary.compiler.cflags += ['-Wno-unknown-warning-option']
binary.compiler.cxxflags += ['-Wno-unknown-warning-option']
binary.compiler.cxxincludes += [ binary.compiler.cxxincludes += [
os.path.join(sdk['path'], 'game', 'server'), os.path.join(sdk['path'], 'game', 'server'),
] ]