diff --git a/.drone.jsonnet b/.drone.jsonnet index 4951708..6f55466 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -260,7 +260,11 @@ local PipelineNotifications(os='linux', arch='amd64', depends_on=[]) = { ], depends_on: depends_on, trigger: { - event: [ 'push', 'tag' ], + ref: [ + 'refs/heads/master', + 'refs/pull/**', + 'refs/tags/**', + ], }, }; diff --git a/.drone.yml b/.drone.yml index 34b925c..2df84c6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -375,9 +375,10 @@ steps: from_secret: microbadger_url trigger: - event: - - push - - tag + ref: + - refs/heads/master + - "refs/pull/**" + - "refs/tags/**" depends_on: - linux-amd64