Skip to content

Commit

Permalink
Dependabot automerge
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuthan committed Sep 20, 2023
1 parent 3b6a5d4 commit 867e180
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Dependabot auto-merge

on: pull_request

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest

if: ${{ github.actor == 'dependabot[bot]' }}

steps:
- 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}}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ requests==2.31.0
pyyaml==6.0.1
numpy==1.26.0
xlrd==2.0.1
pandas==2.1.0
pandas==2.0.3
cloudscraper==1.2.71
pytest-httpserver==1.0.8

0 comments on commit 867e180

Please sign in to comment.