CodeAnt AI home pagelight logodark logo
  • Support
  • Dashboard
  • Dashboard
  • Join Community
Start Here
  • What is CodeAnt?
Setup
  • Github
  • Bitbucket
  • Gitlab
  • Azure Devops
Pull Request Review
  • Features
  • Customize Review
  • Quality Gates
  • Integrations
Code Security
  • Features
Engineering Productivity
  • DORA Metrics
  • Dev Productivity
Code Quality
  • Features
Integrations
  • Jira
  • Test Coverage
  • CI/CD
IDE
  • Setup
  • Review
  • Enhancements
Cloud Security
  • AWS
  • GCP
  • Azure
Rule Reference
  • Compliance
  • Anti-Patterns
  • Code Governance
  • Infrastructure Security Database
  • Application Security Database
    • Apex
    • Bash
    • C
    • Clojure
    • Cpp
    • Csharp
    • Dockerfile
    • Elixir
    • Fingerprints
    • Generic
    • Go
    • Html
    • Java
    • Javascript
    • Json
    • Kotlin
    • Ocaml
    • Php
    • Problem-based-packs
    • Python
    • Ruby
    • Rust
    • Scala
    • Solidity
    • Swift
    • Terraform
    • Typescript
    • Yaml
      • Argo
      • Docker-compose
      • Github-actions
      • Gitlab
        • Correctness
      • Kubernetes
      • Openapi
      • Semgrep
      • Semgrep
Resources
  • Open Source
  • Blogs
Gitlab

Correctness

changes-with-when-never

This Gitlab CI YAML will never run on default branches due to a changes rule with when:never. To fix this, make sure the triggering event is a push event. You can do this with if: '$CI_PIPELINE_SOURCE == "push"'. See https://docs.gitlab.com/ee/ci/yaml/index.html#ruleschanges
Semgrep configurationBest practice
twitterlinkedin
Powered by Mintlify
Assistant
Responses are generated using AI and may contain mistakes.