File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 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
27on :
38 workflow_dispatch :
49
510jobs :
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 :
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
You can’t perform that action at this time.
0 commit comments