diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 37da8b2..9f0e16d 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -2,6 +2,9 @@ name: CI +env: + SKIP_MAKE_SETUP_CHECK: 'true' + # Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the main branch diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 92528eb..4fd291d 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -2,6 +2,9 @@ name: Upload Python Package permissions: contents: write +env: + SKIP_MAKE_SETUP_CHECK: 'true' + on: push: # Sequence of patterns matched against refs/tags diff --git a/Makefile b/Makefile index 1f0d3c5..e3e13fd 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ USING_POETRY=$(shell grep "tool.poetry" pyproject.toml && echo "yes") .PHONY: issetup issetup: - @[ -f .git/hooks/commit-msg ] || (echo "You must run 'make setup' first to initialize the repo!" && exit 1) + @[ -f .git/hooks/commit-msg ] || [ -v SKIP_MAKE_SETUP_CHECK ] || (echo "You must run 'make setup' first to initialize the repo!" && exit 1) .PHONY: setup setup: