Skip to content

Commit 96cab7e

Browse files
committed
ci: Add code-scan` workflow
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
1 parent a6d5669 commit 96cab7e

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/backport.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ jobs:
77
permissions:
88
contents: write
99
pull-requests: write
10-
uses: fluxcd/gha-workflows/.github/workflows/backport.yaml@v0.0.3
10+
uses: fluxcd/gha-workflows/.github/workflows/backport.yaml@v0.0.4
1111
secrets:
1212
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/code-scan.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: code-scan
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
jobs:
8+
analyze:
9+
permissions:
10+
contents: read
11+
security-events: write
12+
uses: fluxcd/gha-workflows/.github/workflows/code-scan.yaml@v0.0.4
13+
secrets:
14+
github-token: ${{ secrets.GITHUB_TOKEN }}
15+
fossa-token: ${{ secrets.FOSSA_TOKEN }}

.github/workflows/labels-sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
permissions:
1212
issues: write
1313
contents: read
14-
uses: fluxcd/gha-workflows/.github/workflows/labels-sync.yaml@v0.0.1
14+
uses: fluxcd/gha-workflows/.github/workflows/labels-sync.yaml@v0.0.4

0 commit comments

Comments
 (0)