Skip to content

Commit

Permalink
Merge pull request #1824 from Expensify/Rory-DontRequireCleanMergeabl…
Browse files Browse the repository at this point in the history
…eState

Don't require clean mergeable state
  • Loading branch information
Jag96 authored Mar 17, 2021
2 parents 1280485 + 34858c4 commit fa59966
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@ jobs:
- name: Check PR mergable states
run: echo "Mergeable - ${{ github.event.pull_request.mergeable }} Clean - ${{ github.event.pull_request.mergeable_state }}"

# TODO: make sure PR is in "clean" mergeable_state
- name: Check for an auto merge
# Version: 0.12.0
uses: pascalgn/automerge-action@c9bd1823770819dc8fb8a5db2d11a3a95fbe9b07
if: github.event.pull_request.mergeable && github.event.pull_request.mergeable_state == 'clean'
if: github.event.pull_request.mergeable
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit fa59966

Please sign in to comment.