diff --git a/.drone/drone.jsonnet b/.drone/drone.jsonnet index 87364a93d7..d4de1850c1 100644 --- a/.drone/drone.jsonnet +++ b/.drone/drone.jsonnet @@ -565,6 +565,7 @@ local manifest_ecr(apps, archs) = pipeline('manifest-ecr') { }, make('loki-mixin-check', container=false) { depends_on: ['clone'], + when: onPRs + onPath('production/loki-mixin/**'), }, ], }, diff --git a/.drone/drone.yml b/.drone/drone.yml index 84be35f8fb..c8bd53f294 100644 --- a/.drone/drone.yml +++ b/.drone/drone.yml @@ -230,6 +230,11 @@ steps: environment: {} image: grafana/loki-build-image:0.24.2 name: loki-mixin-check + when: + event: + - pull_request + paths: + - production/loki-mixin/** trigger: ref: - refs/heads/main @@ -1607,6 +1612,6 @@ kind: secret name: gpg_private_key --- kind: signature -hmac: 3e912c7f00b4d1e8c96a37a6da65a696ec455d81fb4a1ab66f2e87041dd023de +hmac: c0eb47ec65c18d431d2d326925e9f9b6cf4dded08dce0b3f28c969a0a24ac791 ...