Skip to content

Commit 551c508

Browse files
committed
✏️ Fix the bug about using the incorrect file path of the release intent configurations.
1 parent ac3a14e commit 551c508

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ci/release_intent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ReleaseIntentError(Exception):
3131

3232
def load_schema() -> SchemaType:
3333
"""Load and return the JSON schema for release intent validation."""
34-
schema_path = Path(".github/tag_and_release/schema.json")
34+
schema_path = Path("../.github/tag_and_release/schema.json")
3535

3636
if not schema_path.exists():
3737
raise ReleaseIntentError(f"Schema file not found: {schema_path}")
@@ -45,7 +45,7 @@ def load_schema() -> SchemaType:
4545

4646
def load_intent_file() -> Optional[ReleaseIntent]:
4747
"""Load the release intent YAML file if it exists."""
48-
intent_path = Path(".github/tag_and_release/intent.yaml")
48+
intent_path = Path("../.github/tag_and_release/intent.yaml")
4949

5050
if not intent_path.exists():
5151
return None

0 commit comments

Comments
 (0)