Skip to content
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b58cc9f
add devsecops_pipeline.py
meleksabit Aug 28, 2024
8c039b1
add devsecops-pipeline workflow
meleksabit Aug 29, 2024
6fe591f
Merge branch 'main' into dev
meleksabit Aug 29, 2024
d3e5daf
replace sonarqube with bandit
meleksabit Aug 29, 2024
bfc3f90
edit cron job
meleksabit Sep 5, 2024
80ec32c
add comment for the cron job
meleksabit Sep 8, 2024
4719684
Merge branch 'main' into dev
meleksabit Sep 8, 2024
b57b3ca
add Git Guardian workflow
meleksabit Sep 11, 2024
6f43c71
Merge branch 'main' into dev
meleksabit Sep 11, 2024
0e76968
edit Git Guardian workflow
meleksabit Sep 11, 2024
b96d528
edit Git Guardian workflow
meleksabit Sep 11, 2024
da6d3fd
edit Git Guardian workflow
meleksabit Sep 11, 2024
e436b3f
edit Git Guardian workflow
meleksabit Sep 11, 2024
caf63b1
edit Git Guardian workflow
meleksabit Sep 11, 2024
54081f3
edit Git Guardian workflow
meleksabit Sep 11, 2024
6a283a0
edit Git Guardian workflow
meleksabit Sep 11, 2024
1392fd1
edit Git Guardian workflow
meleksabit Sep 11, 2024
7b1f5a0
edit Git Guardian workflow
meleksabit Sep 11, 2024
b047d2f
edit README file
meleksabit Sep 14, 2024
846feeb
Merge branch 'main' into dev
meleksabit Sep 14, 2024
aa79a35
edit DevSecOps pipeline
meleksabit Sep 26, 2024
0bf5315
edit release badge
meleksabit Oct 7, 2024
76cf414
Merge branch 'main' into dev
meleksabit Oct 7, 2024
a297c87
add .gitignore file
meleksabit Oct 8, 2024
ed02de5
Merge branch 'main' into dev
meleksabit Oct 8, 2024
73401cd
add PR Title Linter
meleksabit Nov 17, 2024
819522f
Merge branch 'main' into dev
meleksabit Nov 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/pr-title-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: PR Title Check

on:
pull_request:
types: [opened, edited]

jobs:
lint-pr-title:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Check PR Title
uses: actions/github-script@v7.0.1
with:
script: |
const title = context.payload.pull_request.title;
const regex = /^(feat|fix|chore|docs|style|refactor|perf|test): .+/;
if (!regex.test(title)) {
core.setFailed(`Invalid PR title: "${title}". Titles must match the pattern "type: description" (e.g., "feat: Add new feature").`);
} else {
console.log(`PR title "${title}" is valid.`);
}
Loading