mirror of
https://github.com/github/codeql.git
synced 2026-04-19 05:54:00 +02:00
update name and comment to reflect that it also runs on rc branches
This commit is contained in:
committed by
GitHub
parent
47289a4d33
commit
91b33f72b5
4
.github/workflows/compile-queries.yml
vendored
4
.github/workflows/compile-queries.yml
vendored
@@ -24,9 +24,9 @@ jobs:
|
||||
run: |
|
||||
MERGE_BASE=$(git merge-base --fork-point origin/$BASE_BRANCH)
|
||||
echo "merge-base=$MERGE_BASE" >> $GITHUB_ENV
|
||||
- name: Calculate merge-base - main
|
||||
- name: Calculate merge-base - branch
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
# using github.sha instead, since we're on main
|
||||
# using github.sha instead, since we're directly on a branch, and not in a PR
|
||||
run: |
|
||||
MERGE_BASE=${{ github.sha }})
|
||||
echo "merge-base=$MERGE_BASE" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user