Skip to content

Commit abfd83d

Browse files
committed
Adjusting branch name syntax
1 parent acee736 commit abfd83d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/github/actions/create-or-update-file-contents/create-or-update-file-contents.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default {
5050
} = this;
5151
const response = await github.createOrUpdateFileContent({
5252
...data,
53-
branch: branch && branch.split("/")[0],
53+
branch: branch && branch.split("/")[1],
5454
});
5555

5656
$.export("$summary", `Successfully set contents of ${this.path}${this.branch

0 commit comments

Comments
 (0)