Skip to content

Commit

Permalink
Setup workflow (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
wam-v-tan authored Apr 18, 2023
1 parent c067ca2 commit 285c4d7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/BuildTest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ jobs:
timeout-minutes: 180
needs: build
steps:
- name: Merge PR
uses: nbrugger-tgm/[email protected]
if: contains( github.event.pull_request.labels.*.name, 'bot') && github.event_name == 'pull_request'
with :
token: ${{ secrets.GITHUB_TOKEN }}
method: squash
- name: merge PR
if : ${{ github.event_name == 'pull_request' }} && ${{ github.actor != 'wam-v-tan' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr merge ${{ github.event.pull_request.html_url }} --merge

0 comments on commit 285c4d7

Please sign in to comment.