Skip to content

Commit 2f2e718

Browse files
committed
Refactor workflow triggers in CodeQL, Dependency Review, and Security Pipeline YAML files
1 parent de7496b commit 2f2e718

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
name: CodeQL
77

8-
on:
98
push:
109
branches: [main]
1110
pull_request:
@@ -14,6 +13,7 @@ on:
1413
- cron: '0 0 * * 0'
1514
workflow_dispatch:
1615

16+
1717
concurrency:
1818
group: ${{ github.workflow }}-${{ github.ref }}
1919
cancel-in-progress: true

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# ==================
33
# Scans pull requests for dependency changes and alerts on known vulnerabilities
44
# Documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review
5-
65
name: Dependency Review
76

87
on:
8+
99
pull_request:
1010
branches: [main, develop]
1111
workflow_dispatch:

.github/workflows/security-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Comprehensive security scanning for the GitHub Copilot Cybersecurity course
44
# Course: GitHub Copilot for Cybersecurity Specialists
55
#
6-
# Features:
76
# - Secret detection (TruffleHog, GitLeaks)
87
# - Dependency scanning (npm audit, Snyk)
98
# - SAST (CodeQL, Semgrep)
@@ -18,6 +17,7 @@ on:
1817
branches: [main, develop]
1918
pull_request:
2019
branches: [main]
20+
2121
schedule:
2222
# Run security scans daily at 6 AM UTC
2323
- cron: '0 6 * * *'

0 commit comments

Comments
 (0)