Open baynezy opened 6 days ago
@baynezy Do you have a full log you can attach? There's likely something interesting further up. If you don't want to share the log you can also email it directly to me at brettfo@microsoft.com
Thank you @brettfo I have just sent you the logs you requested by email.
For those who may find themselves here the solution was as follows (massive thanks to @brettfo)
actions:read
and contents:read
for the repository where my shared workflows aredependabot.yml
(see below)version: 2
registries:
nuget-code-artifact:
type: nuget-feed
url: https://redacted.amazonaws.com/nuget/redacted/v3/index.json
username: aws
password: ${{secrets.CODE_ARTIFACT_TOKEN_PRIVATE_REPOS}}
private-github-actions:
type: git
url: https://github.com
username: x-access-token
password: ${{secrets.PRIVATE_GITHUB_ACTIONS_TOKEN}}
updates:
- package-ecosystem: "nuget"
directory: "/" # Location of package manifests
registries:
- nuget-code-artifact
schedule:
interval: "daily"
labels:
- "flag:dependencies"
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
registries:
- private-github-actions
schedule:
interval: "daily"
labels:
- "flag:dependencies"
It is the addition of the registry of type git and its reference on the package registry.
Documentation:
Is there an existing issue for this?
Package ecosystem
GitHub Actions
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
Updated dependency
No response
What you expected to see, versus what you actually saw
I have a workflow in GitHubActions that looks like this:
Note I have redacted my organisation name
This works well, I would expect that dependabot would create PRs for updates to the Shared.Workflows repository like it does for other repos in the marketplace.
What actually happens is that I get an error in the logs and dependabot is failing.
How do I fix this?
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response