From 9bf5a554b4311b107c4e2b54fabc38e171e7f74e Mon Sep 17 00:00:00 2001 From: James Estevez Date: Tue, 14 May 2024 08:53:25 -0700 Subject: [PATCH] Allow manually triggering lint workflow (#3785) Needed until we update 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