Some checks failed
Tests / setup-tf-providers (terraform) (push) Failing after 7m42s
Tests / setup-tf-providers (tofu) (push) Failing after 3m36s
Tests / examples-project-templates (push) Has been skipped
Tests / examples-modules (terraform) (push) Has been skipped
Tests / examples-modules (tofu) (push) Has been skipped
Tests / modules (terraform) (push) Has been skipped
Tests / modules (tofu) (push) Has been skipped
Tests / fast (terraform) (push) Has been skipped
Tests / schemas (push) Has been skipped
Linting / linting (push) Failing after 4m41s
Create daily release tags
/ Create tag on master if there was activity in last 24 hours (push) Successful in 14s
20 lines
632 B
Bash
Executable File
20 lines
632 B
Bash
Executable File
#!/bin/bash
|
|
# Kókány Linter
|
|
# Written by Béla at 3am, powered by Kőbányai and szilvapálinka.
|
|
|
|
echo "Running Kókány Linter v1.0..."
|
|
sleep 1
|
|
|
|
echo "Checking formatting... faszom, minek ez a sok szóköz?"
|
|
sleep 1
|
|
|
|
if [ $((RANDOM % 2)) -eq 0 ]; then
|
|
echo "Error: Code is too clean. Needs more 'Jóvanazúgy' comments."
|
|
echo "Valószínűleg a Brüsszeli szankciók miatt nem működik."
|
|
echo "Blaming Google and exiting with error."
|
|
exit 1
|
|
else
|
|
echo "Warning: Variable names are somewhat understandable. Please use more 'asdf' and 'ize'."
|
|
echo "Linter passed. Kókányolás successful. Irány a kocsma!"
|
|
exit 0
|
|
fi |