Skip to content

Commit 13d1bd3

Browse files
committed
OO-119: forbedre conditional for kjøring
1 parent 69e7110 commit 13d1bd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/synthetic-monitoring.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
3232
delete-config-from-blackbox-exporter:
3333
needs: file-exists
34-
if: needs.file-exists.outputs.file_exists == 'false'
34+
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch && needs.file-exists.outputs.file_exists == 'false'
3535
runs-on: ubuntu-latest
3636
name: Delete existing config from blackbox-exporter
3737
permissions:

0 commit comments

Comments
 (0)