Improve comment

This commit is contained in:
Michael B. Gale
2025-08-15 12:04:53 +01:00
parent a1212db66e
commit 541b8e4e38

View File

@@ -42,8 +42,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v5
with:
# We usually expect to checkout `inputs.rollback-tag`, but use
# `needs.prepare.outputs.latest_tag` for testing.
# We usually expect to checkout `inputs.rollback-tag` (required for `workflow_dispatch`),
# but use `needs.prepare.outputs.latest_tag` for testing.
ref: ${{ inputs.rollback-tag || needs.prepare.outputs.latest_tag }}
fetch-depth: 0 # Need full history for calculation of diffs