Repository navigation
Allow checking out other repos in CI #1780
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
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
e5bf553
feat(ci): group a run's steps into trace spans and name CI's own steps
ea84b11
refactor(ci): span catalog, staged machine start, span kinds folded in
5c9fd49
refactor(ci): keep the staged machine start in machine.ts
7f9092b
refactor(ci): require inngest 4.23.1 and drop the older-SDK paths
98f6ad1
refactor(ci): share step names, sandbox admin, snapshot names and cac…
ee37919
feat(ci): check out another repository or ref with checkout({ repo, r…
d42ab5b
Update ci-trace-spans.md
jpwilliams 477822c
Name a job's span from its config, keeping the number of later direct…
5d039f3
Drop changeset: ci-shared-helpers is a pure internal refactor
jpwilliams b52b8d3
Merge jack/ci-trace-spans-v2 into jack/ci-shared-helpers
jpwilliams de246e7
Merge remote-tracking branch 'origin/main' into jack/ci-shared-helpers
jpwilliams b320301
Merge jack/ci-shared-helpers into jack/ci-checkout-repo-v3
jpwilliams 82541b6
Merge origin/main into jack/ci-checkout-repo-v3 (tree already identic…
jpwilliams 77ecbcd
docs(ci): rewrite checkout-repo changeset as a release note
jpwilliams 24cecbd
fix(ci): treat 422 as "not in this installation"
jpwilliams 317b106
fix(ci): validate files() repo when it is defined
jpwilliams 6fd3853
fix(ci): allow underscores in repository owners
jpwilliams 8aad8aa
refactor(ci): replace checkout sources with a plain if
jpwilliams cdf6c96
refactor(ci): resolve the default branch inside ref resolution
jpwilliams f75f973
refactor(ci): table the repeated source tests
jpwilliams 22a0510
fix(ci): hand builds the invoker's resolved sources; reject empty rep…
jpwilliams 9c9fedc
fix(ci): say a truncated tree needs a string key; test builds reuse t…
jpwilliams File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| "@inngest/ci": minor | ||
| --- | ||
|
|
||
| `checkout()` and `files()` can now read another repository or ref, including in runs whose trigger has no repository. | ||
|
|
||
| ```ts | ||
| await checkout({ repo: "acme/shared-config", ref: "main" }); | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.