Skip to content

Commit 0e39a72

Browse files
committed
clean(ZMSKVR-1124): clarify schedule branch context comment
Adjust wording in the workflow comment to avoid implying `next` is the default branch while keeping the intent of forcing `next` for scheduled runs.
1 parent 79ea395 commit 0e39a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/zmsautomation-workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
shell: bash
7777
run: |
7878
set -euo pipefail
79-
# Scheduled workflows are triggered from the repository default branch context.
79+
# Schedule events don't provide the target branch as workflow_dispatch does.
8080
# Force `next` as effective ref so scheduled runs consume `next` images/tags.
8181
REF_TYPE="${{ github.event_name == 'schedule' && 'branch' || github.ref_type }}"
8282
REF_NAME="${{ github.event_name == 'schedule' && 'next' || github.ref_name }}"

0 commit comments

Comments
 (0)