Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f01f5d

Browse files
mbghenrymercer
andauthored
Apply suggestions from code review
Co-authored-by: Henry Mercer <[email protected]>
1 parent 15ed54f commit 8f01f5d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/rollback-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
timeout-minutes: 45
3232

3333
# Don't set the deployment environment for test runs
34+
# The Actions token does not have permissions to push changes to workflow files.
35+
# Since workflow files may change as part of a backport PR, we use the "Automation" environment for real runs to authenticate as a GitHub App and push these changes.
3436
environment: ${{ github.event_name == 'workflow_dispatch' && 'Automation' || '' }}
3537

3638
needs:
@@ -103,6 +105,7 @@ jobs:
103105
git tag --annotate "${MAJOR_VERSION_TAG}" --message "${MAJOR_VERSION_TAG}" --force
104106
105107
- name: Push tags
108+
# skip when testing
106109
if: github.event_name == 'workflow_dispatch'
107110
shell: bash
108111
env:
@@ -138,7 +141,7 @@ jobs:
138141
VERSION: "${{ needs.prepare.outputs.version }}"
139142
GH_TOKEN: ${{ steps.app-token.outputs.token }}
140143
run: |
141-
# Do not mark this release as latest. The most recent CLI release must be marked as latest.
144+
# Do not mark this release as latest. The most recent bundle release must be marked as latest.
142145
# Set as a draft to give us an opportunity to review the rollback release.
143146
gh release create \
144147
"$VERSION" \

0 commit comments

Comments
 (0)