Skip to content

Commit 3a072c7

Browse files
authored
ci(travis): prevent release stage running for PRs
* The `release` stage will always fail due to security reasons: - E.g. https://travis-ci.com/saltstack-formulas/template-formula/jobs/180068519#L466. - Discussed: #42 (comment). * The `release` stage is unnecessary for PRs until the merge to `master`, in any case.
1 parent c246939 commit 3a072c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ stages:
22
- test
33
- commitlint
44
- name: release
5-
if: branch = master
5+
if: branch = master AND type != pull_request
66

77
sudo: required
88
cache: bundler

0 commit comments

Comments
 (0)