mirror of
https://github.com/Snigdha-OS/snigdhaos-archiso.git
synced 2025-09-05 12:16:40 +02:00
Compare commits
3 Commits
d80d528549
...
07ec99f40f
Author | SHA1 | Date | |
---|---|---|---|
![]() |
07ec99f40f | ||
![]() |
de586f9fc9 | ||
![]() |
da4c09d673 |
38
.github/workflows/cz.yml
vendored
Normal file
38
.github/workflows/cz.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
name: Check Conventional Commit
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
check-commit-message:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Check Conventional Commit
|
||||
run: |
|
||||
# Define the conventional commit types with emojis
|
||||
TYPES=("🚀 feat" "🐛 fix" "📝 docs" "✨ style" "🛠 refactor" "⚡️ perf" "🔬 test" "🔧 build" "🤖 ci" "🧹 chore" "⏪ revert")
|
||||
|
||||
# Extract the commit type and emoji from the commit message
|
||||
COMMIT_MSG=$(git log --format=%B -n 1)
|
||||
for type in "${TYPES[@]}"; do
|
||||
type_emoji=${type}
|
||||
type=${type_emoji#* }
|
||||
emoji=${type_emoji% *}
|
||||
if [[ $COMMIT_MSG == $emoji* ]]; then
|
||||
echo "Commit message is a conventional commit"
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
||||
# If we reach here, the commit message is not a conventional commit
|
||||
echo "Commit message is not a conventional commit"
|
||||
exit 1
|
@@ -1,5 +1,12 @@
|
||||
# 🐧 Snigdha OS ArchISO
|
||||
|
||||
<p align="center">
|
||||
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge" alt="License: MIT"></a>
|
||||
<a href="https://github.com/Snigdha-OS/snigdhaos-archiso"><img src="https://img.shields.io/github/stars/Snigdha-OS/snigdhaos-archiso?style=for-the-badge" alt="Stars"></a>
|
||||
<a href="https://github.com/Snigdha-OS/snigdhaos-archiso/issues"><img src="https://img.shields.io/github/issues/Snigdha-OS/snigdhaos-archiso?style=for-the-badge" alt="Issues"></a>
|
||||
<a href="https://github.com/Snigdha-OS/snigdhaos-archiso/actions"><img src="https://img.shields.io/github/actions/workflow/status/Snigdha-OS/snigdhaos-archiso/cz.yml?branch=master&style=for-the-badge" alt="Build Status"></a>
|
||||
</p>
|
||||
|
||||
**Snigdha OS ArchISO** is the official ArchISO configuration for building Snigdha OS, a highly customizable Linux distribution based on Arch Linux and featuring the **LTS Kernel** for unmatched stability. 🚀
|
||||
|
||||
Designed to cater to both everyday users and penetration testers, Snigdha OS provides a seamless, minimal, and efficient Linux experience powered by robust tools and thoughtful configurations.
|
||||
|
Reference in New Issue
Block a user