Skip to content

Commit 8272fe1

Browse files
committed
Revert "Revert "Revert "Revert "Revert "verdaccio builds"""""
This reverts commit 07abf14.
1 parent 07abf14 commit 8272fe1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.circleci/comment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async function run() {
1111
let pr;
1212
// 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
1313
// comment the build link on the fork.
14-
if (true) {
14+
if (!process.env.CIRCLE_PULL_REQUEST) {
1515
try {
1616
const commit = await octokit.git.getCommit({
1717
owner: 'adobe',
@@ -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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,9 @@ workflows:
647647
requires:
648648
- install
649649
- docs-verdaccio:
650-
# filters:
651-
# branches:
652-
# only: main
650+
filters:
651+
branches:
652+
only: main
653653
requires:
654654
- install
655655
- deploy:

0 commit comments

Comments
 (0)