File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,10 @@ def clean_coverage_path(cls, value: str) -> pathlib.Path:
127127 def clean_github_output (cls , value : str ) -> pathlib .Path :
128128 return pathlib .Path (value )
129129
130+ @classmethod
131+ def clean_github_event_path (cls , value : str ) -> pathlib .Path :
132+ return pathlib .Path (value )
133+
130134 @property
131135 def GITHUB_PR_NUMBER (self ) -> int | None :
132136 # "refs/pull/2/merge"
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def test_config__from_environ__ok():
3535 "GITHUB_REF" : "master" ,
3636 "GITHUB_OUTPUT" : "foo.txt" ,
3737 "GITHUB_EVENT_NAME" : "pull" ,
38- "GITHUB_EVENT_PATH" : pathlib . Path ( "test_event_path" ) ,
38+ "GITHUB_EVENT_PATH" : "test_event_path" ,
3939 "GITHUB_PR_RUN_ID" : "123" ,
4040 "GITHUB_STEP_SUMMARY" : "step_summary" ,
4141 "COMMENT_ARTIFACT_NAME" : "baz" ,
You can’t perform that action at this time.
0 commit comments