Skip to content

Commit 2cebe7b

Browse files
Specify head ref to checkout in dependabot PR workflow (#1653) (#1654)
(cherry picked from commit 8f30e5f) Signed-off-by: Thomas Farr <tsfarr@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent ddba1f2 commit 2cebe7b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/dependabot_pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
uses: actions/checkout@v4
2222
with:
2323
token: ${{ steps.github_app_token.outputs.token }}
24+
ref: ${{ github.event.pull_request.head.ref }}
25+
repository: ${{ github.event.pull_request.head.repo.full_name }}
2426

2527
- name: Update the changelog
2628
uses: dangoslen/dependabot-changelog-helper@v4

0 commit comments

Comments
 (0)