Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Update pr_closed.yml
Browse files Browse the repository at this point in the history
Fixes #692, I think!
  • Loading branch information
zackkrida authored Jul 12, 2022
1 parent 4de030c commit 3701aad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pr_closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
name: Clean API developer docs preview
runs-on: ubuntu-latest
# Check if the event is not triggered by a fork or dependabot
if: github.event_name == 'pull_request' && github.repository_owner == 'WordPress' && github.actor != 'dependabot[bot]'

if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login == 'WordPress' && github.actor != 'dependabot[bot]'
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 3701aad

Please sign in to comment.