From d54bd31ada56059242ec319ee28a067176c05a76 Mon Sep 17 00:00:00 2001 From: Ryan Christian <33403762+rschristian@users.noreply.github.com> Date: Sat, 12 Oct 2024 00:52:38 -0500 Subject: [PATCH] ci: Ensure paths-filter action works on push events (#4528) --- .github/workflows/benchmarks.yml | 2 +- .github/workflows/ci.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index a0c5bdb080..205e112fc4 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -20,7 +20,7 @@ jobs: with: artifact: npm-package workflow: build-test.yml - required: false + required: true - run: mv preact.tgz preact-main.tgz - name: Upload locally build & base preact package uses: actions/upload-artifact@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b093268386..dcfbc6b36e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,7 @@ jobs: outputs: jsChanged: ${{ steps.filter.outputs.jsChanged }} steps: + - uses: actions/checkout@v4 - uses: dorny/paths-filter@v3 id: filter with: