Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Fix automerge
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Apr 11, 2022
1 parent 51a325f commit a9e08d6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/automerge.yml
Expand Up @@ -13,10 +13,16 @@ jobs:
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.actor.login == 'violinist-bot'
steps:
- name: "Get PR information"
uses: potiuk/get-workflow-origin@v1_3
id: source-run-info
with:
token: ${{ secrets.GITHUB_TOKEN }}
sourceRunId: ${{ github.event.workflow_run.id }}
- run: 'gh pr merge --squash https://github.com/acquia/drupal-minimal-project/pull/${{ env.GITHUB_PR }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR: ${{ github.event.workflow_run.pull_requests[0].number }}
GITHUB_PR: ${{ steps.source-run-info.outputs.pullRequestNumber }}
update_release_draft:
needs: merge
runs-on: ubuntu-latest
Expand Down

0 comments on commit a9e08d6

Please sign in to comment.