Skip to content

Commit

Permalink
Proper fork detection
Browse files Browse the repository at this point in the history
Co-authored-by: Iain Lane <iain.lane@grafana.com>
  • Loading branch information
zerok and iainlane committed Jul 3, 2024
1 parent 28df9d7 commit 33b5046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ concurrency: ci-${{ github.ref }}
jobs:
publish:
# Do not run this on forks:
if: github.repository == 'grafana/tanka'
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'grafana/tanka'

runs-on: ubuntu-22.04
steps:
Expand Down

0 comments on commit 33b5046

Please sign in to comment.