Skip to content

Commit 554f218

Browse files
committed
#V2 - refactoring
1 parent 694ef50 commit 554f218

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/github_environment_variables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ def from_env(github_custom_ref="", github_custom_ref_name="") -> "GitHubContext"
6565
return GitHubContext(
6666
actor=os.getenv("GITHUB_ACTOR"),
6767
api_url=os.getenv("GITHUB_API_URL"),
68-
base_ref=os.getenv("GITHUB_EVENT_NAME"),
69-
event_name=os.getenv("GITHUB_BASE_REF"),
68+
base_ref=os.getenv("GITHUB_BASE_REF"),
69+
event_name=os.getenv("GITHUB_EVENT_NAME"),
7070
head_ref=os.getenv("GITHUB_HEAD_REF"),
7171
ref=github_custom_ref if github_custom_ref else os.getenv("GITHUB_REF"),
7272
ref_name=github_custom_ref_name if github_custom_ref_name else os.getenv("GITHUB_REF_NAME"),

0 commit comments

Comments
 (0)