We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fafb958 commit 7d45bfdCopy full SHA for 7d45bfd
gitlab2sentry/resources.py
@@ -152,7 +152,7 @@ def is_test_env(env: str) -> bool:
152
GITLAB_RMV_SRC_BRANCH = (
153
TEST_GITLAB_RMV_SRC_BRANCH
154
if is_test_env(ENV)
155
- else os.environ["GITLAB_REMOVE_SOURCE"]
+ else bool(int(os.environ["GITLAB_REMOVE_SOURCE"]))
156
)
157
GITLAB_MENTIONS_LIST = os.getenv("GITLAB_MENTIONS")
158
GITLAB_MENTIONS_ACCESS_LEVEL = int(os.getenv("GITLAB_MENTIONS_ACCESS_LEVEL", 40))
0 commit comments