Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions scripts/tasks/features/dotnet/renovate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type { Component, FeatureConfig } from "./generateConfig.js";
import { components, configPath, generateConfig, parseConfig, readConfig } from "./generateConfig.js";

const refreshBranch = "renovate";
const refreshRef = `refs/heads/${refreshBranch}`;
const title = "Update dotnet version pins";
const configFilepath = path.relative(projectRoot, configPath);
const textDecoder = new TextDecoder();
Expand Down Expand Up @@ -74,7 +75,7 @@ const main = async (): Promise<void> => {
await git.commit({
fs,
dir: projectRoot,
ref: refreshBranch,
ref: refreshRef,
message: `${title}\n\n${body}`,
author: { name: "Renovate", email: "" },
});
Expand All @@ -87,7 +88,7 @@ const main = async (): Promise<void> => {
http,
dir: projectRoot,
remote: remote.remote,
ref: refreshBranch,
ref: refreshRef,
force: true,
onAuth: () => ({ username: "git", password: token }),
});
Expand Down
Loading