From 5c187f9313510d55b9eba0b65fc18dd198cea44c Mon Sep 17 00:00:00 2001 From: Benjamin Janssens Date: Tue, 4 Feb 2025 14:08:58 +0100 Subject: [PATCH] chore(scaffolder): add changeset for getOctokitOptions function signature change Signed-off-by: Benjamin Janssens --- .changeset/fast-rabbits-unite.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .changeset/fast-rabbits-unite.md diff --git a/.changeset/fast-rabbits-unite.md b/.changeset/fast-rabbits-unite.md new file mode 100644 index 0000000000..f94e68449c --- /dev/null +++ b/.changeset/fast-rabbits-unite.md @@ -0,0 +1,17 @@ +--- +'@backstage/plugin-scaffolder-backend-module-github': patch +--- + +The `getOctokitOptions` function signature with `repoUrl` option has been deprecated in favour of a function signature with individual `host`, `owner`, and `repo` parameters: + +```diff + const octokitOptions = await getOctokitOptions({ + integrations, + credentialsProvider, + token, +- repoUrl, ++ host, ++ owner, ++ repo, + }); +```