Skip to content

Commit 41faa0b

Browse files
markovamariardementi
authored andcommitted
Enabled automatic evidence submission for SDL441
1 parent 9b55b8a commit 41faa0b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci-cas-security.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@ jobs:
3737
sdl-api-key: ${{ secrets.SDL_API_KEY }}
3838
sdl-project-id: ${{ secrets.SDL_PROJECT_ID }}
3939
sdl-idsid-value: ${{ secrets.SDL_IDSID_VALUE }}
40-
sdl-tasks: "SDL441" # scan for SDL441 only, SDL419 has separate scan (workaround)
40+
sdl-tasks: "SDL441" # scan for SDL441 only, SDL419 has separate scan (workaround)
41+
# Set branch type to 'release' for scheduled runs and manual trigger on main branch.
42+
# Required for automatic evidence submit. Excludes push events.
43+
branch-type: ${{ github.ref == 'refs/heads/main' && (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') && 'release' || 'dev' }}

0 commit comments

Comments
 (0)