-
Notifications
You must be signed in to change notification settings - Fork 868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"skip ci" in commit message not working #2441
Comments
For on-prem server, try this: The others might only work for Azure DevOps Services (the hosted version), they don't show up in the docs when I switch the filter to "Azure DevOps Server 2019" (https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops-2019) |
I am having the same issue, and from what I have read in #858 placing [skip ci] in a commit message only skips on merge to master and not in a PR run, which is totally bizarro! |
|
Until we have a proper fix in place, here is a temporary fix that will skip the script execution if the commit message ( variables:
SKIP_CI_FILTER: 'skip ci'
steps:
- script: sh ./script1.sh
condition: not(contains(variables['Build.SourceVersionMessage'], variables['SKIP_CI_FILTER'])) |
@vtbassmatt - Do you have any context here? Is this our recommended solution? |
I believe we honor SKIP_CI and friends only when the commit containing that value is the tip, whether it's CI or PR. If you merge using GitHub's PR experience, for example, I don't think the SKIP_CI indicator gets included in the merge commit unless you included it in the PR message body. |
@vtbassmatt |
I believe that should also work (as long as the |
@vtbassmatt it does not work. See this build, the head commit of which is TileDB-Inc/TileDB-Py@68d937f. |
Hmm, that sounds like a bug in the service then. Could you please file a report on Developer Community? I'm going to close this issue because the bug can't be in the agent. (The agent just runs what the service tells it to run.) |
That issue has been routed to a developer to investigate. Thanks for your patience. |
Is this being fixed? |
Hi All Is this still an issue on PR triggers? |
This is not about commit-based, but rather PR based, still
|
I am trying to find a way to skip Azure CI via the commit message, when trying the following messages none of them really do the work and skip the CI run:
[skip ci] or [ci skip]
skip-checks: true or skip-checks:true
[skip azurepipelines] or [azurepipelines skip]
[skip azpipelines] or [azpipelines skip]
[skip azp] or [azp skip]
NO_CI
The text was updated successfully, but these errors were encountered: