Skip to content

Commit

Permalink
dependabot automerge
Browse files Browse the repository at this point in the history
  • Loading branch information
punxaphil committed Jun 4, 2024
1 parent 8b310f0 commit 43e674c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,19 @@ jobs:
npm install
npm run test:ci
npm run build
dependabot:
name: 'Dependabot'
needs: [build]
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- 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}}

0 comments on commit 43e674c

Please sign in to comment.