Skip to content

Commit 4cd2c6a

Browse files
Update transfer-approved-submission.yml
1 parent cb61b27 commit 4cd2c6a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/transfer-approved-submission.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@ jobs:
8585
"ℹ️ This issue remains open here for visibility, but ongoing tracking happens in the private repository."
8686
].join("\n\n");
8787
88+
// --- Ensure the public issue is unlocked before commenting ---
89+
try {
90+
await github.rest.issues.unlock({
91+
owner: repoOwner,
92+
repo: publicRepo,
93+
issue_number
94+
});
95+
} catch (e) {
96+
// ignore if already unlocked
97+
}
98+
8899
await github.rest.issues.createComment({
89100
owner: repoOwner,
90101
repo: publicRepo,

0 commit comments

Comments
 (0)