update name and comment to reflect that it also runs on rc branches

This commit is contained in:
Erik Krogh Kristensen
2022-11-04 12:50:18 +01:00
committed by GitHub
parent 47289a4d33
commit 91b33f72b5

View File

@@ -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