Skip to content

Commit 56d6259

Browse files
authored
ci: add workflow_dispatch and concurrency group to fossa.yaml (#211)
fossa.yaml was missing both mandatory CI hygiene rules: - workflow_dispatch for manual re-triggering of license scans - concurrency group to prevent duplicate runs on rapid pushes Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
1 parent b670020 commit 56d6259

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/fossa.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@ on:
66
pull_request:
77
branches: [main]
88
merge_group: {}
9+
workflow_dispatch: {}
910

1011
permissions:
1112
contents: read
1213

14+
concurrency:
15+
group: fossa-${{ github.ref }}
16+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
17+
1318
env:
1419
FOSSA_CLI_VERSION: "3.17.10"
1520

0 commit comments

Comments
 (0)