Skip to content

Commit b5b4996

Browse files
committed
No checkout in reusable action
Signed-off-by: Charalampos Mainas <charalampos.mainas@gmail.com>
1 parent 018f40e commit b5b4996

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/add-git-trailers.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,15 @@ jobs:
4545
private-key: ${{ secrets.URUNC_BOT_PRIVATE_KEY }}
4646

4747
- name: Append git trailers
48-
uses: nubificus/git-trailers@18fd322f3fbfd505b4de728974a4ac1f32f758a7
48+
uses: nubificus/git-trailers@9bf4235762fb658e76ce9858fbb97b01ba9f33b8
4949
with:
5050
user_info: .github/contributors.yaml
51+
user_info: ${{ github.event.pull_request.head.ref }}
5152

5253
- name: Merge PR
5354
env:
5455
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
5556
PR_URL: ${{ github.event.pull_request.html_url }}
5657
run: |
58+
sleep 5 # Wait for github to get updated with the push. Otherwise merge will fail
5759
gh pr merge "$PR_URL" --rebase --admin

0 commit comments

Comments
 (0)