-
Notifications
You must be signed in to change notification settings - Fork 59.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Private Cargo Registry Support for Dependabot - [GA] (#50154)
Co-authored-by: Ankit Honey <honeyankit@github.com> Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
- Loading branch information
1 parent
d0bd66a
commit 5beb993
Showing
7 changed files
with
55 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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 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 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
6 changes: 6 additions & 0 deletions
6
data/features/dependabot-updates-cargo-private-registry-support.yml
This file contains 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,6 @@ | ||
# Reference: issue #13801 | ||
# Private Cargo Registry Support for Dependabot - [GA] | ||
versions: | ||
fpt: '*' | ||
ghec: '*' | ||
ghes: '>3.13' |
14 changes: 14 additions & 0 deletions
14
data/reusables/dependabot/cargo-private-registry-config-example.md
This file contains 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,14 @@ | ||
{% raw %} | ||
|
||
```yaml | ||
registries: | ||
cargo-example: | ||
type: cargo-registry | ||
registry: "name-of-your-registry" | ||
url: https://cargo.cloudsmith.io/foobaruser/test/ | ||
token: "Token ${{secrets.CARGO_TOKEN}}" | ||
``` | ||
{% endraw %} | ||
We tested this configuration against the `https://cargo.cloudsmith.io` private registry. |
This file contains 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 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 @@ | ||
| Rust {% ifversion fpt or ghec %}| {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Unsupported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Unsupported" %} |{% elsif ghes > 3.13 %} | {% octicon "x" aria-label="Unsupported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Unsupported" %} |{% else %} | {% octicon "x" aria-label="Unsupported" %} | {% octicon "x" aria-label="Unsupported" %} | {% octicon "x" aria-label="Unsupported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Unsupported" %} |{% endif %} |