diff --git a/.github/workflows/auto-format.yml b/.github/workflows/auto-format.yml index 7ac1e89b..925388a4 100644 --- a/.github/workflows/auto-format.yml +++ b/.github/workflows/auto-format.yml @@ -72,7 +72,7 @@ jobs: const branchRef = `heads/auto-format-${context.sha.slice(0, 7)}`; const branch = await github.rest.git.createRef({ ...context.repo, - ref: branchRef, + ref: `refs/$branchRef`, sha: context.sha });