mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 14:40:10 +08:00
Use PR branch as BASE_BRANCH when testing, to make sure script changes are available
This commit is contained in:
2
.github/workflows/rollback-release.yml
vendored
2
.github/workflows/rollback-release.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
||||
- name: Prepare mergeback branch
|
||||
id: mergeback-branch
|
||||
env:
|
||||
BASE_BRANCH: "main"
|
||||
BASE_BRANCH: ${{ (github.event_name == 'workflow_dispatch' && 'main') || github.ref_name }}
|
||||
VERSION: ${{ needs.prepare.outputs.version }}
|
||||
run: |
|
||||
set -x
|
||||
|
||||
Reference in New Issue
Block a user