Skip to content

Commit 743e333

Browse files
committed
fix: Disable master workflows on other branches
1 parent 513f727 commit 743e333

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,20 @@ workflows:
200200
sonatypeBundleRelease"
201201
requires:
202202
- publish_docker_locally
203+
filters:
204+
branches:
205+
only:
206+
- master
203207
- codacy/publish_docker:
204208
name: publish_dockerhub
205209
context: CodacyDocker
206210
docker_tag: dev-snapshot
207211
requires:
208212
- publish_docker_locally
213+
filters:
214+
branches:
215+
only:
216+
- master
209217
- codacy/sbt:
210218
name: build_cli_jar
211219
install_sbt_version: 1.3.12
@@ -218,6 +226,10 @@ workflows:
218226
mv ./cli/target/scala-2.12/codacy-analysis-cli-assembly-$(cat .version).jar ~/workdir/artifacts/
219227
requires:
220228
- publish_docker_locally
229+
filters:
230+
branches:
231+
only:
232+
- master
221233
- codacy/publish_ghr:
222234
context: CodacyGitHub
223235
path: ~/workdir/artifacts/

0 commit comments

Comments
 (0)