zed/.github
morgankrey 060e4afb41
Skip docs suggestions workflow for fork PRs (#49942)
## Summary

Fork PRs don't have access to repository secrets (`FACTORY_API_KEY`),
causing the docs suggestions workflow to fail when triggered by external
contributor PRs.

This adds a condition to skip the `batch-suggestions` job when the PR
originates from a fork (`github.event.pull_request.head.repo.full_name
!= github.repository`).

## Context

See failing job:
https://github.com/zed-industries/zed/actions/runs/22323201362/job/64586740764

The `pull_request` trigger doesn't pass secrets to workflows running on
fork PRs for security reasons. This is expected GitHub behavior.

Release Notes:

- N/A
2026-02-23 21:19:54 -06:00
..
actions ci: Fix docs build post #45130 (#45330) 2025-12-19 03:40:27 +00:00
DISCUSSION_TEMPLATE Fix feature request guidelines link in discussion template (#49129) 2026-02-13 20:27:01 +00:00
ISSUE_TEMPLATE Add security warnings to issue templates (#47957) 2026-01-29 14:17:53 -05:00
workflows Skip docs suggestions workflow for fork PRs (#49942) 2026-02-23 21:19:54 -06:00
actionlint.yml Reapply "Try namespace mac runners (#47675)" (#47721) (#47727) 2026-01-26 22:02:52 -07:00
cherry-pick-bot.yml Maybe make cherry-pick-bot better 2024-02-28 15:26:30 -07:00
CODEOWNERS.hold Temporarily disabling codeowners to resolve noisy routing (#49623) 2026-02-19 12:09:20 -05:00
FUNDING.yml Add sponsor button to main Zed repo (#46807) 2026-01-14 10:38:51 -06:00
pull_request_template.md Update pull_request_template.md (#48805) 2026-02-13 09:23:51 +00:00