From e19ebc3270f3e563e206e474c9e0cff3c7dcd742 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Wed, 21 Sep 2022 16:52:29 -0700 Subject: [PATCH] fix: properly ignore workspace paths from root during ci (#209) --- lib/content/_on-ci.yml | 4 ++-- tap-snapshots/test/apply/source-snapshots.js.test.cjs | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/content/_on-ci.yml b/lib/content/_on-ci.yml index 1352a8b1..151b31ba 100644 --- a/lib/content/_on-ci.yml +++ b/lib/content/_on-ci.yml @@ -6,7 +6,7 @@ pull_request: {{/if}} {{#if isRootMono}} paths-ignore: - {{#each workspaceGlob}} + {{#each workspaceGlobs}} - {{ . }} {{/each}} {{/if}} @@ -21,7 +21,7 @@ push: {{/if}} {{#if isRootMono}} paths-ignore: - {{#each workspaceGlob}} + {{#each workspaceGlobs}} - {{ . }} {{/each}} {{/if}} diff --git a/tap-snapshots/test/apply/source-snapshots.js.test.cjs b/tap-snapshots/test/apply/source-snapshots.js.test.cjs index 2f578df1..6f4b7228 100644 --- a/tap-snapshots/test/apply/source-snapshots.js.test.cjs +++ b/tap-snapshots/test/apply/source-snapshots.js.test.cjs @@ -1665,11 +1665,15 @@ on: workflow_dispatch: pull_request: paths-ignore: + - workspaces/a/** + - workspaces/b/** push: branches: - main - latest paths-ignore: + - workspaces/a/** + - workspaces/b/** schedule: # "At 09:00 UTC (02:00 PT) on Monday" https://crontab.guru/#0_9_*_*_1 - cron: "0 9 * * 1"