Skip to content

Commit

Permalink
[buildomat] authorize PRs generated by oxide-renovate (#4244)
Browse files Browse the repository at this point in the history
Means that PRs like #4241
will be automatically authorized.

Also skip cargo-hakari update if cargo isn't present.
  • Loading branch information
sunshowers authored Oct 11, 2023
1 parent 72a0429 commit 194889b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/buildomat/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ org_only = true
allow_users = [
"dependabot[bot]",
"oxide-reflector-bot[bot]",
"oxide-renovate[bot]",
"renovate[bot]",
]
7 changes: 7 additions & 0 deletions tools/renovate-post-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ function retry_command {
done
}

# If cargo isn't present, skip this -- it implies that a non-Rust dependency was
# updated.
if ! command -v cargo &> /dev/null; then
echo "Skipping cargo-hakari update because cargo is not present."
exit 0
fi

# Download and install cargo-hakari if it is not already installed.
if ! command -v cargo-hakari &> /dev/null; then
# Need cargo-binstall to install cargo-hakari.
Expand Down

0 comments on commit 194889b

Please sign in to comment.