From bbf4d8c1d2c2e3e879ee22e699d03cd2f2cc185a Mon Sep 17 00:00:00 2001 From: James Estevez Date: Mon, 13 May 2024 15:20:16 -0700 Subject: [PATCH] ci: Run precommit on workflow_dispatch Needed until we improve the shared workflow to run on pull requests from forked repositories. --- .github/workflows/feature_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/feature_test.yml b/.github/workflows/feature_test.yml index 9f188fd359..71c6826c75 100644 --- a/.github/workflows/feature_test.yml +++ b/.github/workflows/feature_test.yml @@ -11,7 +11,7 @@ on: jobs: lint: name: Lint - if: ${{ github.event_name == 'pull_request' }} + if: ${{ contains(fromJSON('["workflow_dispatch", "pull_request"]'), github.event_name) }} uses: SFDO-Tooling/.github/.github/workflows/pre-commit.yml@main docs: name: Build Docs