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:
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