Skip to content

Commit

Permalink
Merge pull request #3 from brienze1/develop
Browse files Browse the repository at this point in the history
[CI-CD] - added automerge function
  • Loading branch information
brienze1 committed Sep 19, 2022
2 parents 0341556 + d4e755a commit ab4d348
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Auto Merge
on:
pull_request:
branches:
- main
check_suite:
types:
- completed
status: {}
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- id: automerge
name: automerge
uses: "pascalgn/automerge-action@v0.15.3"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1 change: 1 addition & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ jobs:
uses: repo-sync/pull-request@v2
with:
destination_branch: "main"
pr_label: "automerge"
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ab4d348

Please sign in to comment.