Skip to content

Commit

Permalink
[CMake] Add space after pull request user info in CDash build name
Browse files Browse the repository at this point in the history
  • Loading branch information
amadio committed Mar 20, 2024
1 parent f1fe280 commit dc609d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if(DEFINED ENV{GITHUB_ACTIONS})
set(ENV{BASE_REF} $ENV{GITHUB_SHA}^1)
set(ENV{HEAD_REF} $ENV{GITHUB_SHA}^2)
string(REGEX REPLACE "/merge" "" PR_NUMBER "$ENV{GITHUB_REF_NAME}")
string(PREPEND CTEST_BUILD_NAME "#${PR_NUMBER} ($ENV{GITHUB_ACTOR})")
string(PREPEND CTEST_BUILD_NAME "#${PR_NUMBER} ($ENV{GITHUB_ACTOR}) ")
else()
set(ENV{HEAD_REF} $ENV{GITHUB_SHA})
string(APPEND CTEST_BUILD_NAME " ($ENV{GITHUB_REF_NAME})")
Expand Down

0 comments on commit dc609d6

Please sign in to comment.