Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c8f4ea593 | ||
|
|
6f0c5c022a |
@@ -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 }}
|
||||
@@ -22,4 +22,9 @@ for sdk_name in Extension.sdks:
|
||||
|
||||
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']
|
||||
|
||||
Extension.extensions += builder.Add(project)
|
||||
|
||||
Reference in New Issue
Block a user