diff --git a/.github/workflows/wordpress-version-checker.yml b/.github/workflows/wordpress-version-checker.yml index 806cb9936..e7e8e5e83 100644 --- a/.github/workflows/wordpress-version-checker.yml +++ b/.github/workflows/wordpress-version-checker.yml @@ -16,6 +16,10 @@ permissions: jobs: wordpress-version-checker: + # Prevent this workflow to run on forks outside of the GatherPress organization, + # because the required permission to create an issue would not be given and the workflow would fail. + # Using a condition check will skip the test. + if: github.repository_owner == 'GatherPress' runs-on: ubuntu-latest steps: - name: WordPress version checker