这是indexloc提供的服务,不要输入任何密码
Skip to content

docs for --affected on GitHub #9283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2024
Merged

docs for --affected on GitHub #9283

merged 1 commit into from
Oct 18, 2024

Conversation

dimitropoulos
Copy link
Contributor

@dimitropoulos dimitropoulos commented Oct 17, 2024

Description

see: #9169 for context on the implementing code.

@dimitropoulos dimitropoulos requested review from anthonyshew and a team as code owners October 17, 2024 21:59
@turbo-orchestrator turbo-orchestrator bot added area: docs Improvements or additions to documentation created-by: turborepo labels Oct 17, 2024
Copy link

vercel bot commented Oct 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 9:59pm
8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Oct 17, 2024 9:59pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Oct 17, 2024 9:59pm
examples-gatsby-web ⬜️ Ignored (Inspect) Oct 17, 2024 9:59pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Oct 17, 2024 9:59pm
examples-native-web ⬜️ Ignored (Inspect) Oct 17, 2024 9:59pm
examples-svelte-web ⬜️ Ignored (Inspect) Oct 17, 2024 9:59pm
examples-tailwind-web ⬜️ Ignored (Inspect) Oct 17, 2024 9:59pm
examples-vite-web ⬜️ Ignored (Inspect) Oct 17, 2024 9:59pm

Copy link
Contributor

Hi there 👋

It looks like this PR introduces broken links to the docs, please take a moment to fix them before merging:

Broken link Type File
/repo/docs/guides/tools/typescript#you-likely-dont-need-a-tsconfigjson-file-in-the-root-of-your-project hash /repo-docs/crafting-your-repository/structuring-a-repository.mdx
#package-entrypoint-wildcards hash /repo-docs/guides/tools/typescript.mdx
#package-entrypoint-wildcards hash /repo-docs/guides/tools/typescript.mdx

Thank you 🙏


In the context of a PR, this means that Turborepo can determine which packages have changed between the PR's base branch and the PR's head branch. This allows you to run only the tasks that are affected by the changes in the PR.

While `GITHUB_BASE_REF` works well in `pull_request` and `pull_request_target` events, it is not available during regular push events. In those cases, we use `GITHUB_EVENT_PATH` to determine the base branch to compare your commit to. In force pushes and pushing branch with no additionals commits, we compare to the parent of the first commit on the branch.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went back-and-forth on whether to link to GitHub's docs in here, but in the end decided to just keep it less busy. People that are reading this are, by self-selection, already aware of GitHub Actions and such.

@tknickman tknickman merged commit 108d532 into main Oct 18, 2024
39 of 40 checks passed
@tknickman tknickman deleted the dimitri/docs-github-affected branch October 18, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants