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
2
7
on :
3
8
workflow_dispatch :
4
9
5
10
jobs :
6
11
fast-forward :
7
- name : Fast-forward tracking branch for latest CodeQL version
12
+ name : Fast-forward tracking branch for selected CodeQL version
8
13
runs-on : ubuntu-latest
9
14
if : github.repository == 'github/codeql'
10
15
permissions :
16
21
if : ${{ !startsWith(github.ref_name, 'codeql-cli-') }}
17
22
shell : bash
18
23
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."
20
25
exit 1
21
26
22
27
- name : Checkout
You can’t perform that action at this time.
0 commit comments