Skip to content

Commit 7d6932f

Browse files
Ilya GorbanIlya Gorban
authored andcommitted
remove master from triggers of pipelines
1 parent de30b20 commit 7d6932f

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.github/workflows/docker-publish.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Docker
33
on:
44
push:
55
branches:
6-
- master
6+
# - master # commented due to Codefresh convention
77
- release-*
88

99
# Run tests for any PRs.
@@ -40,8 +40,9 @@ jobs:
4040
# ghcr.io/codefresh-io/argo-rollouts
4141
tags: |
4242
type=ref,event=branch
43-
flavor: |
44-
latest=${{ github.ref == 'refs/heads/master' }}
43+
# commented due to Codefresh convention
44+
# flavor: |
45+
# latest=${{ github.ref == 'refs/heads/master' }}
4546

4647
- name: Docker meta (plugin)
4748
id: plugin-meta
@@ -52,12 +53,13 @@ jobs:
5253
# ghcr.io/codefresh-io/kubectl-argo-rollouts
5354
tags: |
5455
type=ref,event=branch
55-
flavor: |
56-
latest=${{ github.ref == 'refs/heads/master' }}
56+
# commented due to Codefresh convention
57+
# flavor: |
58+
# latest=${{ github.ref == 'refs/heads/master' }}
5759

5860
# - name: Login to GitHub Container Registry
5961
# if: github.event_name != 'pull_request'
60-
# uses: docker/login-action@v1
62+
# uses: docker/login-action@v1
6163
# with:
6264
# registry: ghcr.io
6365
# username: ${{ github.repository_owner }}

.github/workflows/e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: E2E Tests
33
on:
44
push:
55
branches:
6-
- 'master'
6+
# - 'master' # commented due to Codefresh convention
77
- 'release-*'
88
pull_request:
99
branches:
10-
- 'master'
10+
# - 'master' # commented due to Codefresh convention
1111
- 'release-*'
1212
workflow_dispatch:
1313
inputs:

.github/workflows/go.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ name: Go
22
on:
33
push:
44
branches:
5-
- "master"
6-
- "release-*"
5+
# - "master"
6+
- "release-*" # Codefresh convention
77
pull_request:
88
branches:
9-
- "master"
9+
# - "master"
10+
- "release-*" # Codefresh convention
1011
jobs:
1112
lint-go:
1213
name: Lint Go code

0 commit comments

Comments
 (0)