Compare commits

..

3 commits

Author SHA1 Message Date
ZoopaMario f5b3d6940c TEST2
Some checks failed
Lint and Validate / lint-and-validate (pull_request) Failing after 1m55s
2024-12-28 21:37:11 +01:00
ZoopaMario 6d1b261f96 VERY IMPORTANT DATA 2024-12-28 21:37:11 +01:00
ZoopaMario 20dd94efac Add shellcheck workflow 2024-12-28 21:35:04 +01:00

View file

@ -24,24 +24,20 @@ jobs:
- name: Checkout Code
uses: https://code.forgejo.org/actions/checkout@v4
<<<<<<< HEAD
- name: List Checked Out Files
run: ls -al /workspace/ZoopaMario/backup-automation
>>>>>>> 20dd94e (Add shellcheck workflow)
- name: Install ShellCheck
run: |
apt-get update && apt-get install -y shellcheck
- name: Verify ShellCheck Installation
run: which shellcheck
- name: Lint Bash Scripts
run: |
echo "Linting Bash scripts..."
find . -name '*.sh' -print0 | xargs -0 shellcheck
- name: Find Shell Scripts
run: find . -name '*.sh' -print
- name: Debug Commit Message
run: git log -1 --pretty=%B
- name: Show Environment Variables
run: env
- name: Check Commit Messages
run: |
echo "Checking commit message format..."
if ! git log -1 --pretty=%B | grep -Eq '^(feat|fix|chore|docs|style|refactor|test|perf):'; then
echo "Commit message does not follow the conventional format: <type>: <subject>"
exit 1
fi