Skip to content

Commit 8c0becb

Browse files
MrSidimsjsji
authored andcommitted
Fix typos in the backport script (#3168)
- Wrong comment syntax for used - Fixed return for Get commit sha job Signed-off-by: Sidorov, Dmitry <[email protected]> Original commit: KhronosGroup/SPIRV-LLVM-Translator@c3b1fcd7726ae0c
1 parent 417c39b commit 8c0becb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm-spirv/.github/workflows/backport-to-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
git checkout -b backport/pr-${{ github.event.issue.number }}-to-${{ env.TARGET }} origin/${{ env.TARGET }}
7979
8080
- name: Get commit sha
81-
id: commits
81+
id: merge_sha
8282
uses: actions/github-script@v7
8383
with:
8484
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -89,7 +89,7 @@ jobs:
8989
repo: context.repo.repo,
9090
pull_number: context.issue.number
9191
});
92-
# FIXME: handle PRs that are merged with "Rebase and Merge" strategy
92+
// FIXME: handle PRs that are merged with "Rebase and Merge" strategy
9393
const sha = pr.data.merge_commit_sha;
9494
if (!sha) {
9595
throw new Error(`No merge_commit_sha found.`);

0 commit comments

Comments
 (0)