mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-12 02:15:01 +00:00
Fix dependency review workflow (#53815)
Signed-off-by: Fred Heinecke <[email protected]>
This commit is contained in:
@@ -11,7 +11,12 @@ jobs:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
with:
|
||||
base-ref: ${{ github.event.pull_request.base.sha || 'master' }}
|
||||
base-ref: >
|
||||
${{
|
||||
github.event_name == 'pull_request' && github.event.pull_request.base.sha ||
|
||||
github.event_name == 'merge_group' && github.event.merge_group.base_sha ||
|
||||
'Invalid reference (workflow bug)'
|
||||
}}
|
||||
# 'GHSA-6xf3-5hp7-xqqg' is a false positive. That's an old Teleport Vuln,
|
||||
# but because of the replace, the dependency cannot find the correct
|
||||
# Teleport version.
|
||||
|
||||
Reference in New Issue
Block a user