ni / nimi-python

Python bindings for NI Modular Instrument drivers.
Other
112 stars 84 forks source link

Do not run workflows on forks #2025

Closed ni-jfitzger closed 11 months ago

ni-jfitzger commented 11 months ago

What does this Pull Request accomplish?

My fork tried to run the Windows 64-bit Python workflow on its master branch due to

2014.

Based on https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-run-job-for-specific-repository

List issues fixed by this Pull Request below, if any.

None

What testing has been done?

None. We'll know if it works when I sync my fork, after the merge.

ni-jfitzger commented 11 months ago

Seems to work. https://github.com/ni-jfitzger/nimi-python/actions/runs/6331294588

The workflow will still trigger on a push / pull to a fork, but it immediately skips.