Skip to content

Commit

Permalink
automerge dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierZal committed Apr 29, 2024
1 parent 6b0b82b commit 2ec9d2b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 27 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
name: Dependabot
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Fetch metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Auto-merge
run: gh pr merge --auto --merge $PR_URL
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27 changes: 0 additions & 27 deletions .github/workflows/node.js.yml

This file was deleted.

0 comments on commit 2ec9d2b

Please sign in to comment.