Skip to content

Commit 2b7c282

Browse files
committed
chore(ci): github issue作成時のrequest headerにapi versionを追加 (#1250)
必須ではないと思うがドキュメントに記載があったため https://docs.github.com/ja/rest/issues/issues?apiVersion=2022-11-28#create-an-issue
1 parent deea684 commit 2b7c282

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/script/create_github_issue_when_not_empty.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def main():
1919
headers = {
2020
"Content-Type": "application/json",
2121
"Authorization": f"Bearer {token}",
22+
"X-GitHub-Api-Version": "2022-11-28",
2223
}
2324
try:
2425
with open(file_name, 'r') as file:

0 commit comments

Comments
 (0)