Skip to content

Commit

Permalink
Ensure datadog upload is skipped for forks (#76238)
Browse files Browse the repository at this point in the history
Follow-up to #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
  • Loading branch information
ijjk authored Feb 19, 2025
1 parent 13737cd commit b76775a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ jobs:
path: packages/next/dist/compiled/next-server/report.*.html

- name: Upload test report to datadog
if: ${{ inputs.afterBuild && always() }}
if: ${{ inputs.afterBuild && always() && !github.event.pull_request.head.repo.fork }}
run: |
# 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
Expand Down

0 comments on commit b76775a

Please sign in to comment.