Skip to content

Commit ad8d4ac

Browse files
committed
Actions: Address comments on fast-forward workflow
1 parent 65988f4 commit ad8d4ac

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/fast-forward.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
name: Fast-forward tracking branch for latest CodeQL version
1+
# Fast-forwards the branch specified in BRANCH_NAME
2+
# to the github.ref/sha that this workflow is run on.
3+
# Used as part of the release process, to ensure
4+
# external query writers can always access a branch of github/codeql
5+
# that is compatible with the latest stable release.
6+
name: Fast-forward tracking branch for selected CodeQL version
27
on:
38
workflow_dispatch:
49

510
jobs:
611
fast-forward:
7-
name: Fast-forward tracking branch for latest CodeQL version
12+
name: Fast-forward tracking branch for selected CodeQL version
813
runs-on: ubuntu-latest
914
if: github.repository == 'github/codeql'
1015
permissions:
@@ -16,7 +21,7 @@ jobs:
1621
if: ${{ !startsWith(github.ref_name, 'codeql-cli-') }}
1722
shell: bash
1823
run: |
19-
echo "::error ::The $BRANCH_NAME tracking branch should only be fast-forwarded to the tip of a codeql-cli-* branch, got $GITHUB_REF instead."
24+
echo "::error ::The $BRANCH_NAME tracking branch should only be fast-forwarded to the tip of a codeql-cli-* branch, got $GITHUB_REF_NAME instead."
2025
exit 1
2126
2227
- name: Checkout

0 commit comments

Comments
 (0)