Skip to content

Commit

Permalink
Move checkout action to automerge,
Browse files Browse the repository at this point in the history
as it is required, s consumers would not have to do it manually.
Addresses: #64 (comment)
  • Loading branch information
tomalec committed Jul 24, 2023
1 parent 5fdacb0 commit 81025fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ jobs:
automerge_trunk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: woocommerce/grow/automerge-released-trunk@actions-v1
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ description: Automatically merge trunk to develop after a release.
runs:
using: composite
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Merge the release to develop"
shell: bash
if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') && github.event.pull_request.user.login == 'github-actions[bot]' }}
Expand Down

0 comments on commit 81025fc

Please sign in to comment.