Skip to content

Commit

Permalink
Revert to manual gh execution
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbalinov committed Nov 28, 2024
1 parent 6aece5a commit 4243ca2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/pr-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,12 @@ jobs:
app-id: ${{ secrets.MONDOO_MERGEBOT_APP_ID }}
private-key: ${{ secrets.MONDOO_MERGEBOT_APP_PRIVATE_KEY }}
# automerge using bot token
- uses: peter-evans/enable-pull-request-automerge@v3
with:
pull-request-number: ${{ github.event.pull_request.number }}
merge-method: squash
token: ${{ steps.generate-token.outputs.token }}
- name: Approve and merge a PR
run: |
gh pr review ${{ steps.pr.outputs.number }} --approve
gh pr merge ${{ steps.pr.outputs.number }} --squash --merge "1"
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
event_file:
name: "Store event file"
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4243ca2

Please sign in to comment.