Skip to content

Commit 071b172

Browse files
committed
Revert "enable verdaccio build on branch"
This reverts commit e6d0d1b.
1 parent e6d0d1b commit 071b172

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.circleci/api-comment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function run() {
1313
let pr;
1414
// 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
1515
// comment the build link on the fork.
16-
if (true) {
16+
if (!process.env.CIRCLE_PULL_REQUEST) {
1717
try {
1818
const commit = await octokit.git.getCommit({
1919
owner: 'adobe',

.circleci/comment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async function run() {
4141
break;
4242
}
4343
}
44-
} else if (true) {
44+
} else if (process.env.CIRCLE_BRANCH === 'main') {
4545
// If it isn't a PR commit, then we are on main. Create a comment for the test app and docs build
4646
await octokit.repos.createCommitComment({
4747
owner: 'adobe',

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,9 @@ workflows:
933933
requires:
934934
- install
935935
- verdaccio:
936+
filters:
937+
branches:
938+
only: main
936939
requires:
937940
- install
938941
- v-docs:

0 commit comments

Comments
 (0)