Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: FOSSA Scanning

on:
push:
branches: ["main", "master", "release/**"]
branches: ["main", "master", "v[0-9]+.[0-9]+"]
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The branch pattern v[0-9]+.[0-9]+ is incorrect for GitHub Actions workflow triggers. In glob patterns, the dot (.) is interpreted literally as any single character, not just a period. This means the pattern would incorrectly match branch names like v1X2 in addition to v1.2.

For consistency with other workflows in this repository (basic-ci.yaml and scan.yml), the pattern should be 'v**' to match all version branches starting with 'v'. Alternatively, if you need to match only semantic version patterns, you should use v[0-9]+.[0-9]+* to allow for patch versions like v1.2.3.

Suggested change
branches: ["main", "master", "v[0-9]+.[0-9]+"]
branches: ["main", "master", "v**"]

Copilot uses AI. Check for mistakes.
workflow_dispatch:

permissions:
Expand Down
Loading