Unverified Commit b76775a6 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Ensure datadog upload is skipped for forks (#76238)

Follow-up to https://github.com/vercel/next.js/pull/73180 ensures we
don't run this for forks which was dropped in the PR.

x-ref:
https://github.com/vercel/next.js/actions/runs/13422276429/job/37497537420?pr=75784
parent 13737cde
...@@ -244,7 +244,7 @@ jobs: ...@@ -244,7 +244,7 @@ jobs:
path: packages/next/dist/compiled/next-server/report.*.html path: packages/next/dist/compiled/next-server/report.*.html
- name: Upload test report to datadog - name: Upload test report to datadog
if: ${{ inputs.afterBuild && always() }} if: ${{ inputs.afterBuild && always() && !github.event.pull_request.head.repo.fork }}
run: | run: |
# Add a `test.type` tag to distinguish between turbopack and next.js runs # Add a `test.type` tag to distinguish between turbopack and next.js runs
# Add a `nextjs.test_session.name` tag to help identify the job # Add a `nextjs.test_session.name` tag to help identify the job
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment