fix(ci): scope secrets scan to branch changes

This commit is contained in:
Nimrod Gutman
2026-03-08 22:11:38 +02:00
committed by Nimrod Gutman
parent 0ecfd37b44
commit dadd7f99cd
6 changed files with 25 additions and 16 deletions

View File

@@ -267,6 +267,12 @@ jobs:
with:
submodules: false
- name: Ensure secrets base commit
uses: ./.github/actions/ensure-base-commit
with:
base-sha: ${{ github.event_name == 'push' && github.event.before || github.event.pull_request.base.sha }}
fetch-ref: ${{ github.event_name == 'push' && github.ref_name || github.event.pull_request.base.ref }}
- name: Setup Node environment
uses: ./.github/actions/setup-node-env
with: