Skip to content

Commit ecd1227

Browse files
committed
attempted fix
1 parent 56631b2 commit ecd1227

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/ci-build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,19 @@ jobs:
5050
id: filter
5151
run: |
5252
if grep -vE '^(server/|cypress/|cypress\.config\.ts|README\.md|\.github/workflows/ci-build\.yml|renovate\.json|LICENSE|\.prettierrc|\.github/workflows/release-build\.yml|\.github/PULL_REQUEST_TEMPLATE\.md|public/robots\.txt)' changed.txt | grep .; then
53+
echo "only_docs=true" >> $GITHUB_OUTPUT
54+
echo "changes"
55+
else
5356
echo "only_docs=false" >> $GITHUB_OUTPUT
5457
echo "no change"
55-
else
56-
echo "only_docs=true" >> $GITHUB_OUTPUT
57-
echo "change"
5858
fi
59-
grep -vE '^(server/|cypress/|cypress\.config\.ts|README\.md|\.github/workflows/ci-build\.yml|renovate\.json|LICENSE|\.prettierrc|\.github/workflows/release-build\.yml|\.github/PULL_REQUEST_TEMPLATE\.md|public/robots\.txt)' changed.txt | grep .
6059
6160
6261
lint-and-unit-test:
6362
name: Lint & Unit Tests
6463
runs-on: ubuntu-latest
6564
needs: detect_changes
66-
if: needs.detect_changes.outputs.only_docs_changed
65+
if: needs.detect_changes.outputs.only_docs_changed != 'false'
6766
steps:
6867
- name: Checkout repo
6968
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

0 commit comments

Comments
 (0)