Skip to content

Commit

Permalink
Fix CI check to disallow template testing on forked repositories
Browse files Browse the repository at this point in the history
#2222 used the wrong syntax / check. This PR corrects that.
  • Loading branch information
strickvl authored Jan 5, 2024
1 parent 7d35c4f commit 02b3b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
update-templates-to-examples:
# this doesn't work on forked repositories (i.e. outside contributors)
# so we disable template updates for those PRs / branches
if: github.repository == 'zenml-io/zenml'
if: github.event.pull_request.head.repo.full_name == "zenml-io/zenml"
uses: ./.github/workflows/update-templates-to-examples.yml
with:
python-version: "3.8"
Expand Down

0 comments on commit 02b3b25

Please sign in to comment.