Open etiennebacher opened 3 weeks ago
Hello, thanks for creating this github action workflow. I'm trying to use it in marginaleffects but I run into an issue when the PR was created from a fork of the repo (my fork in this case) because of git switch "${GITHUB_HEAD_REF}".
marginaleffects
git switch "${GITHUB_HEAD_REF}"
https://github.com/vincentarelbundock/marginaleffects/actions/runs/11251933456/job/31284004081?pr=1229#step:3:204
The name of my branch is etiennebacher:setup-benchmark-ci but ${GITHUB_HEAD_REF} uses only setup-benchmark-ci, and therefore git switch fails.
etiennebacher:setup-benchmark-ci
${GITHUB_HEAD_REF}
setup-benchmark-ci
git switch
It seems that this issue also occurs in other repos using this action, such as data.table. For instance, the workflow associated with the branch myoung3:named_lapply has the same error message: https://github.com/Rdatatable/data.table/actions/runs/10734222605/job/29768987281#step:3:390
data.table
myoung3:named_lapply
Am I missing some configuration to make this work or is this a proper bug?
Hello, thanks for creating this github action workflow. I'm trying to use it in
marginaleffects
but I run into an issue when the PR was created from a fork of the repo (my fork in this case) because ofgit switch "${GITHUB_HEAD_REF}"
.https://github.com/vincentarelbundock/marginaleffects/actions/runs/11251933456/job/31284004081?pr=1229#step:3:204
The name of my branch is
etiennebacher:setup-benchmark-ci
but${GITHUB_HEAD_REF}
uses onlysetup-benchmark-ci
, and thereforegit switch
fails.It seems that this issue also occurs in other repos using this action, such as
data.table
. For instance, the workflow associated with the branchmyoung3:named_lapply
has the same error message: https://github.com/Rdatatable/data.table/actions/runs/10734222605/job/29768987281#step:3:390Am I missing some configuration to make this work or is this a proper bug?