Skip to content

Commit e7ec8c0

Browse files
committed
updated current workflow naming convention, added truffhog scan workflow
1 parent e8a72e7 commit e7ec8c0

5 files changed

+26
-4
lines changed

.github/workflows/precommit.yml .github/workflows/00-Check.-Code-Convention.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pre Commit check
1+
name: 00-Check.-Code-Convention
22
on:
33
push:
44
branches-ignore:
@@ -7,6 +7,7 @@ on:
77
pull_request:
88
branches:
99
- main
10+
- develop
1011
- "release/**"
1112
workflow_dispatch:
1213
inputs:

.github/workflows/cla_signature.yml .github/workflows/01-CLA-Assistant.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "CLA Assistant"
1+
name: 01-CLA-Assistant
22
on:
33
issue_comment:
44
types: [created]

.github/workflows/software_build_test.yml .github/workflows/02-Build-Firmware.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
name: Build the software
1+
name: 02-Build-Firmware
22
on:
33
pull_request:
44
branches:
55
- main
6+
- develop
67
workflow_dispatch:
78
env:
89
ARCH: x86_64

.github/workflows/sonarqube.yml .github/workflows/03-SonarQube-Analysis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
name: SonarQube Analysis
1+
name: 03-SonarQube-Analysis
22

33
on:
44
pull_request:
55
branches:
66
- main
7+
- develop
78
workflow_dispatch:
89

910

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 04-TruffleHog-Security-Scan
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
- develop
7+
workflow_dispatch:
8+
jobs:
9+
trufflehog_scan:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- name: Secret Scanning
17+
uses: trufflesecurity/trufflehog@v3.84.0
18+
with:
19+
extra_args: --only-verified

0 commit comments

Comments
 (0)