Skip to content

Commit 59fdb88

Browse files
authored
ci(enh): use main branch instead of develop (#15)
1 parent fc9530b commit 59fdb88

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/dependency-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Run dependency scan
1818
run: |
1919
if [ -f compromised-packages.txt ]; then rm -f compromised-packages.txt; fi
20-
wget https://raw.githubusercontent.com/centreon/security-tools/develop/blacklist/compromised-packages.txt
20+
wget https://raw.githubusercontent.com/centreon/security-tools/main/blacklist/compromised-packages.txt
2121
ERROR_LOG="error_log.txt"
2222
DEP_LIST="compromised-packages.txt"
2323
LOCKFILES=($(find ./ -name "package-lock.json" -o -name "pnpm-lock.yaml" -o -name "yarn.lock"))

.github/workflows/security-checks.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,22 @@ on:
88
pull_request:
99
branches:
1010
- main
11-
- develop
1211
push:
1312
branches:
1413
- main
15-
- develop
1614
workflow_dispatch:
1715
schedule:
1816
- cron: 0 1 * * 1-5
1917

2018
jobs:
2119
dependency-scan:
22-
uses: centreon/security-tools/.github/workflows/dependency-analysis.yml@develop
20+
uses: centreon/security-tools/.github/workflows/dependency-analysis.yml@main
2321

2422
secrets_scan:
25-
uses: centreon/security-tools/.github/workflows/gitleaks-analysis.yml@develop
23+
uses: centreon/security-tools/.github/workflows/gitleaks-analysis.yml@main
2624

2725
code_scan:
28-
uses: centreon/security-tools/.github/workflows/checkmarx-analysis.yml@develop
26+
uses: centreon/security-tools/.github/workflows/checkmarx-analysis.yml@main
2927
with:
3028
module_directory:
3129
module_name: security-tools

0 commit comments

Comments
 (0)