File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ async function run() {
10
10
let pr ;
11
11
// If we aren't running on a PR commit, double check if this is a branch created for a fork. If so, we'll need to
12
12
// comment the build link on the fork.
13
- if ( true ) {
13
+ if ( ! process . env . CIRCLE_PULL_REQUEST ) {
14
14
try {
15
15
const commit = await octokit . git . getCommit ( {
16
16
owner : 'adobe' ,
@@ -41,7 +41,7 @@ async function run() {
41
41
break ;
42
42
}
43
43
}
44
- } else if ( true ) {
44
+ } else if ( process . env . CIRCLE_BRANCH === 'main' ) {
45
45
// If it isn't a PR commit, then we are on main. Create a comment for the test app and docs build
46
46
await octokit . repos . createCommitComment ( {
47
47
owner : 'adobe' ,
Original file line number Diff line number Diff line change @@ -910,9 +910,9 @@ workflows:
910
910
requires :
911
911
- install
912
912
- verdaccio :
913
- # filters:
914
- # branches:
915
- # only: main
913
+ filters :
914
+ branches :
915
+ only : main
916
916
requires :
917
917
- install
918
918
- v-docs :
You can’t perform that action at this time.
0 commit comments