Skip to content

Commit f3566c8

Browse files
cypher256claude
andcommitted
Fix token-expiry-check: add -R flag for gh commands without checkout
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5b3f544 commit f3566c8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/token-expiry-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
VSCE_RESULT: ${{ steps.vsce.outcome }}
4747
OVSX_RESULT: ${{ steps.ovsx.outcome }}
4848
run: |
49-
EXISTING=$(gh issue list --label "token-expiry" --state open --json number --jq length)
49+
EXISTING=$(gh issue list -R "$GITHUB_REPOSITORY" --label "token-expiry" --state open --json number --jq length)
5050
if [ "$EXISTING" != "0" ]; then
5151
echo "Issue already exists, skipping"
5252
exit 0
@@ -70,7 +70,7 @@ jobs:
7070
BODY+="### 注意\n"
7171
BODY+="- Azure DevOps は **kashihara@live.jp** でログイン\n"
7272
BODY+="- Mac ブラウザでは AD アカウント干渉でエラーになる場合あり、Windows Edge を使う\n"
73-
gh issue create \
73+
gh issue create -R "$GITHUB_REPOSITORY" \
7474
--title "Marketplace token expired" \
7575
--label "token-expiry" \
7676
--body "$(echo -e "$BODY")"

0 commit comments

Comments
 (0)