mirror of
https://github.com/bdwgc/bdwgc-rust.git
synced 2026-05-29 09:58:55 -06:00
Use GitHub Action for Dependabot (#314)
This commit is contained in:
11
.github/mergify.yml
vendored
11
.github/mergify.yml
vendored
@@ -1,11 +0,0 @@
|
|||||||
pull_request_rules:
|
|
||||||
- name: dependabot
|
|
||||||
conditions:
|
|
||||||
- author=dependabot[bot]
|
|
||||||
actions:
|
|
||||||
queue:
|
|
||||||
name: default
|
|
||||||
method: squash
|
|
||||||
queue_rules:
|
|
||||||
- name: default
|
|
||||||
conditions: []
|
|
||||||
13
.github/workflows/dependabot.yaml
vendored
Normal file
13
.github/workflows/dependabot.yaml
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
name: dependabot
|
||||||
|
on: pull_request
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
jobs:
|
||||||
|
merge:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.actor == 'dependabot[bot]'
|
||||||
|
steps:
|
||||||
|
- run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user