Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Skip docs suggestions workflow for fork PRs (#49942)
morgankrey060e4afb41e9
diff --git a/.github/workflows/docs_suggestions.yml b/.github/workflows/docs_suggestions.ymlindex df6f001d2a0..8cf98e978cd 100644--- a/.github/workflows/docs_suggestions.yml+++ b/.github/workflows/docs_suggestions.yml@@ -52,13 +52,15 @@ env:jobs:# Job for PRs merged to main - batch suggestions to branch+ # Only runs for PRs from the same repo (not forks) since secrets aren't available for fork PRsbatch-suggestions:runs-on: ubuntu-latesttimeout-minutes: 10if: |(github.event_name == 'pull_request' &&github.event.pull_request.merged == true &&- github.event.pull_request.base.ref == 'main') ||+ github.event.pull_request.base.ref == 'main' &&+ github.event.pull_request.head.repo.full_name == github.repository) ||(github.event_name == 'workflow_dispatch' && inputs.mode == 'batch')steps: