Skip to content

Commit

Permalink
Updated build-test-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kochetov committed Jun 5, 2023
1 parent 2b764e5 commit efd5687
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/build-test-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,9 @@ jobs:
profile: Nexus 6
script: ./gradlew connectedCheck --stacktrace

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
- name: Push to master branch
if: ${{ success() }}
uses: ad-m/github-push-action@master
with:
base: master
branch: develop
token: ${{ secrets.TOKEN }}

- name: Approve Pull Request
uses: juliangruber/approve-pull-request-action@v2.0.0
with:
github-token: ${{ secrets.TOKEN }}
number: 1

- name: Merge Pull Request
uses: juliangruber/merge-pull-request-action@v1
with:
github-token: ${{ secrets.TOKEN }}
number: 1
branch: master
force: true

0 comments on commit efd5687

Please sign in to comment.