Skip to content

Commit

Permalink
feat: add new automerge shared workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitri Pal <[email protected]>
  • Loading branch information
Dmitri Pal authored and rvolosatovs committed Dec 21, 2022
1 parent 89fa414 commit 7702e2c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Auto merge
on: workflow_call

jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: auto-merge
id: auto-merge
run: gh pr merge --auto --rebase $PR_URL
env:
GITHUB_TOKEN: ${{ github.token }}
PR_URL: ${{ github.event.pull_request.html_url }}

0 comments on commit 7702e2c

Please sign in to comment.