We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22cba57 commit 6c519ccCopy full SHA for 6c519cc
.github/workflows/release-branch.yaml
@@ -93,7 +93,7 @@ jobs:
93
const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');
94
const branch = process.env.BRANCH;
95
const sha = process.env.SHA;
96
- const ref = `heads/${branch}`;
+ const ref = `refs/heads/${branch}`;
97
98
await github.rest.git.createRef({
99
owner,
.github/workflows/tag.yaml
@@ -134,7 +134,7 @@ jobs:
134
const tag = await github.rest.git.createRef({
135
136
repo,
137
- ref: `tags/v${version}`,
+ ref: `refs/tags/v${version}`,
138
sha: tagSha,
139
});
140
console.log("Created tag ref:", tag.data.url);
0 commit comments