-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Description
I'm trying to disable a build warning with a # check=skip=
comment. I'm finding this comment only takes effect if it is at the very top of the file. For example, the following works:
# check=skip=FailingCheck
[commands]
However, if I add a comment explaining why I'm disabling this, it doesn't work. The following example will result in the warning still being shown during a build.
# Comment with context about why this is disabled
# check=skip=FailingCheck
[commands]
Worse, I only want to disable this for a single stage. The following also doesn't work:
# Build stage
[commands]
# Output stage
# This needs [thing that triggers FailingCheck] due to [reasons]
# check=skip=FailingCheck
[Line that triggers FailingCheck]
[core commands]
It would be nice if I could put the check skip command next to the line causing the violation, so that it is in context. At the minimum I'd like to be able to put a comment above it explaining why the check was disabled. Thanks.