feat(ci): ignore pr for master
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-04 00:52:45 +02:00
parent 6f694fa0b0
commit 358027c850
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -101,9 +101,13 @@ steps:
OP_SERVICE_ACCOUNT_TOKEN: OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token from_secret: op_service_account_token
when: when:
event:
- push
branch: branch:
- main - main
- master - master
exclude:
- pull_request
depends_on: depends_on:
- "load_secret" - "load_secret"
- "build ci" - "build ci"
@ -133,9 +137,11 @@ steps:
OP_SERVICE_ACCOUNT_TOKEN: OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token from_secret: op_service_account_token
when: when:
event:
- tag
ref: ref:
include: include:
- refs/tags/v** - refs/tags/v*
depends_on: depends_on:
- "load_secret" - "load_secret"
- "build ci" - "build ci"