-
Notifications
You must be signed in to change notification settings - Fork 38
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
Feature request: Run updates locally #301
Comments
Yes it would be useful to apply updates directly the the filesystem, we've been kicking that idea around for a while but haven't put it together yet. In the meantime you could simplify your script using a group, that way Dependabot only produces one PR. No need for a loop. cat <<EOF > input.yml
job:
package-manager: "github_actions"
source:
directory: "/"
provider: github
repo: not/used
dependency-groups:
- name: actions
rules:
patterns:
- "*"
EOF
dependabot update -f input.yml --local $REPO |
Oh nice, thanks! Note that it doesn't seem to work without an
But it works if I add it: job:
package-manager: "github_actions"
allowed-updates:
- update-type: all
source:
directory: "/"
provider: github
repo: not/used
dependency_groups:
- name: actions
rules:
patterns:
- "*" |
With the advice from dependabot/cli#301 (comment)
With the advice from dependabot/cli#301 (comment)
With the advice from dependabot/cli#301 (comment)
I'd like to have an easy command to run updates locally, such that the local files are updated as if all resulting dependabot PRs were merged.
This might look like
resulting in
It's currently possible to do that, but it requires some extra machinery that I'd rather avoid, see this script.
The text was updated successfully, but these errors were encountered: