Skip to content

Commit

Permalink
Check out merge commit before creating patch (#2171)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMock authored Mar 21, 2024
1 parent b77bdf2 commit 8afdec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/serverless-patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: elastic/elasticsearch-js
ref: main
ref: '${{ github.event.pull_request.merge_commit_sha }}'
- name: Generate patch file
run: |
git format-patch -1 --stdout ${{ github.event.pull_request.merge_commit_sha }} > /tmp/patch.diff
Expand Down

0 comments on commit 8afdec0

Please sign in to comment.