mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2026-07-14 00:00:06 +08:00
27 lines
684 B
YAML
27 lines
684 B
YAML
name: Dependabot merge
|
|
on: pull_request_target
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
contents: write
|
|
|
|
jobs:
|
|
dependabot:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
steps:
|
|
- name: Dependabot metadata
|
|
id: metadata
|
|
uses: dependabot/fetch-metadata@v1.1.0
|
|
with:
|
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
- name: automerge
|
|
uses: "pascalgn/automerge-action@v0.14.2"
|
|
env:
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
- name: Reject PR
|
|
if: failure()
|
|
uses: superbrothers/close-pull-request@v3
|
|
with:
|
|
comment: "PR closed due to failing tests."
|