Skip to content

Commit

Permalink
run notification only on merge and tag
Browse files Browse the repository at this point in the history
  • Loading branch information
individual-it committed May 11, 2021
1 parent bc958a0 commit c6ea448
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ def main(ctx):
'refs/pull/**',
],
}
notification_trigger = {
"ref": [
'refs/heads/master',
'refs/tags/v*',
],
}
pipelines = [
# Build changelog
changelog(
Expand Down Expand Up @@ -50,6 +56,7 @@ def main(ctx):
"clang-debug-ninja",
"build-docs",
],
trigger = notification_trigger,
),

# Sync translations
Expand Down

0 comments on commit c6ea448

Please sign in to comment.