Skip to content

Commit a9ca40c

Browse files
committed
run the pipeline on any branch name except main
pipeline for main runs only when there's any tag as defined by the tags: ["*"] below
1 parent ecd3427 commit a9ca40c

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/push.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: Keboola Component Build & Deploy Pipeline
22
on:
33
push:
4-
branches:
5-
- feature/*
6-
- bug/*
7-
- fix/*
4+
branches-ignore:
5+
- main
86
tags:
9-
- "*" # Skip the workflow on the main branch without tags
7+
- "*" # Skip the workflow on the main branch without tags
108

119
concurrency: ci-${{ github.ref }} # to avoid tag collisions in the ECR
1210
env:

0 commit comments

Comments
 (0)