Skip to content

Commit 0abeac1

Browse files
authored
Update create_release_tag.py
1 parent 6c49b99 commit 0abeac1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/create_release_tag.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
import sys
77

88
TARGET_FILE = "src/index.json"
9+
# Get API URLs from environment
10+
RELEASE_API_URL, TAG_API_URL = get_api_urls()
911

1012
def get_api_urls() -> Tuple[str, str]:
1113
"""Generate GitHub API URLs based on GITHUB_REPOSITORY environment variable."""
@@ -84,9 +86,6 @@ def main():
8486
"Accept": "application/vnd.github.v3+json"
8587
}
8688

87-
# Get API URLs from environment
88-
RELEASE_API_URL, TAG_API_URL = get_api_urls()
89-
9089
try:
9190
added_lines = get_file_changes()
9291
if not added_lines:

0 commit comments

Comments
 (0)