Skip to content

Commit

Permalink
Create version-updates.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Lala Sabathil <[email protected]>
  • Loading branch information
Lulalaby authored Jul 27, 2023
1 parent 5182c43 commit 0668414
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/version-updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Version Update Auto Merge
on: pull_request

permissions:
contents: write
pull-requests: write

jobs:
auto-merge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 0668414

Please sign in to comment.