Skip to content

Commit

Permalink
Updating github-config
Browse files Browse the repository at this point in the history
  • Loading branch information
paketo-bot authored and thitch97 committed Apr 27, 2022
1 parent 3c14be6 commit c630a1b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 45 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/approve-bot-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Approve Bot PRs
name: Approve Bot PRs and Enable Auto-Merge

on:
workflow_run:
Expand Down Expand Up @@ -60,3 +60,10 @@ jobs:
with:
token: ${{ secrets.PAKETO_BOT_REVIEWER_GITHUB_TOKEN }}
number: ${{ needs.download.outputs.pr-number }}

- name: Enable Auto-Merge
if: steps.human-commits.outputs.human_commits == 'false' && steps.unverified-commits.outputs.unverified_commits == 'false'
run: |
gh pr merge ${{ needs.download.outputs.pr-number }} --auto --rebase
env:
GITHUB_TOKEN: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
44 changes: 0 additions & 44 deletions .github/workflows/auto-merge.yml

This file was deleted.

0 comments on commit c630a1b

Please sign in to comment.