From fbca1a1cb81e113b9839277bf5e816629ad2abad Mon Sep 17 00:00:00 2001 From: Evi Vanoost Date: Sat, 24 Feb 2024 14:08:30 -0500 Subject: [PATCH] Add an option to force running the action for testing purposes --- .github/workflows/dist.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dist.yml b/.github/workflows/dist.yml index 03c2389..61d23fb 100644 --- a/.github/workflows/dist.yml +++ b/.github/workflows/dist.yml @@ -9,8 +9,8 @@ on: jobs: publish: name: Publish - # Check if the PR is not from a fork - if: github.repository_owner == 'samber' + # Check if the PR is not from a fork or manually executed + if: github.repository_owner == 'samber' or github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: - name: Checkout Repo