mirror of
https://github.com/bdwgc/bdwgc-rust.git
synced 2026-06-01 03:18:55 -06:00
Use GitHub Action for Dependabot (#314)
This commit is contained in:
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