Skip to content

Commit

Permalink
Dependabot automerge.
Browse files Browse the repository at this point in the history
  • Loading branch information
buluma committed Jan 9, 2024
1 parent 53248db commit ba55157
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/depandabot_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,15 @@ permissions:
contents: write
pull-requests: write

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true


jobs:
build:
runs-on: "ubuntu-20.04"
dependabot_merge:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@master"
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Merge Dependabot PR"
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Dependabot Auto Merge Action
uses: buluma/[email protected]

0 comments on commit ba55157

Please sign in to comment.