Skip to content

Commit 50fd3d7

Browse files
committed
Updates the release-prepare-branch.yml workflow to create a PR from a dedicated fork for the modifications.
Signed-off-by: David Venable <dlv@amazon.com>
1 parent 9fded42 commit 50fd3d7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release-prepare-branch.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ jobs:
5050
steps:
5151
- name: Checkout Data Prepper
5252
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
53+
with:
54+
# Do not persist the checkout credentials in the local git config.
55+
# When pushing to a fork, peter-evans/create-pull-request adds its own
56+
# authentication, and a persisted Authorization header would collide
57+
# with it, causing 'Duplicate header: "Authorization"' (HTTP 400).
58+
persist-credentials: false
5359

5460
- name: Validate release branch
5561
id: validate_branch

0 commit comments

Comments
 (0)