Skip to content

Commit 261ec06

Browse files
committed
add back main filters
1 parent 4a94676 commit 261ec06

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
@@ -10,7 +10,7 @@ async function run() {
1010
let pr;
1111
// 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
1212
// comment the build link on the fork.
13-
if (true) {
13+
if (!process.env.CIRCLE_PULL_REQUEST) {
1414
try {
1515
const commit = await octokit.git.getCommit({
1616
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
@@ -910,9 +910,9 @@ workflows:
910910
requires:
911911
- install
912912
- verdaccio:
913-
# filters:
914-
# branches:
915-
# only: main
913+
filters:
914+
branches:
915+
only: main
916916
requires:
917917
- install
918918
- v-docs:

0 commit comments

Comments
 (0)