File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -134,13 +134,17 @@ jobs:
134134 GH_TOKEN : ${{ github.token }}
135135 run : |
136136 # Try to create a new PR, or update if it already exists
137+ # NOTE: Branch deletion after merge is handled by repository settings
138+ PR_TITLE="Update pinned requirements for ${SIGSTORE_RELEASE_TAG}"
139+ PR_BODY="Pins dependencies for <https://github.com/sigstore/sigstore-python/releases/tag/${SIGSTORE_RELEASE_TAG}>."
140+
137141 if ! gh pr create \
138- --title "Update pinned requirements for ${SIGSTORE_RELEASE_TAG }" \
139- --body "Pins dependencies for <https://github.com/sigstore/sigstore-python/releases/tag/${SIGSTORE_RELEASE_TAG}>. " \
142+ --title "${PR_TITLE }" \
143+ --body "${PR_BODY} " \
140144 --base main \
141145 --head "${SIGSTORE_PIN_REQUIREMENTS_BRANCH}"; then
142146 # PR already exists, update it
143147 gh pr edit "${SIGSTORE_PIN_REQUIREMENTS_BRANCH}" \
144- --title "Update pinned requirements for ${SIGSTORE_RELEASE_TAG }" \
145- --body "Pins dependencies for <https://github.com/sigstore/sigstore-python/releases/tag/${SIGSTORE_RELEASE_TAG}>. "
148+ --title "${PR_TITLE }" \
149+ --body "${PR_BODY} "
146150 fi
You can’t perform that action at this time.
0 commit comments