Skip to content

Commit

Permalink
Skip the workflow outside of GatherPress org
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Mar 6, 2024
1 parent 1d7511d commit 7e933c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/wordpress-version-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e933c1

Please sign in to comment.