Add an option to force running the action for testing purposes

This commit is contained in:
Evi Vanoost 2024-02-24 14:08:30 -05:00
parent 6fe429e7b7
commit fbca1a1cb8

View file

@ -9,8 +9,8 @@ on:
jobs: jobs:
publish: publish:
name: Publish name: Publish
# Check if the PR is not from a fork # Check if the PR is not from a fork or manually executed
if: github.repository_owner == 'samber' if: github.repository_owner == 'samber' or github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repo - name: Checkout Repo