👋 Hello, I’ve been following https://github.github.com/gh-aw/reference/checkout/#custom-checkout-settings to ensure a full git checkout, i.e. fetch-depth: 0. In the safe-outputs job, just before it invokes the create_pull_request safe-output, it can’t find the required commits to create the pull request.
Looking at the Checkout repository step of the safe_outputs job, it actually performs a shallow clone with fetch-depth: 1.
It seems https://github.github.com/gh-aw/reference/checkout/#custom-checkout-settings applies to the agent job's checkout step only.
To get around this issue, I would run the following command after executing gh aw compile:
sed -i '' "s|fetch-depth: 1|fetch-depth: 0|g" .github/workflows/*.lock.yml after gh aw compile
Could you please look into this issue?
👋 Hello, I’ve been following https://github.github.com/gh-aw/reference/checkout/#custom-checkout-settings to ensure a full git checkout, i.e.
fetch-depth: 0. In thesafe-outputsjob, just before it invokes thecreate_pull_requestsafe-output, it can’t find the required commits to create the pull request.Looking at the
Checkout repositorystep of thesafe_outputsjob, it actually performs a shallow clone withfetch-depth: 1.It seems https://github.github.com/gh-aw/reference/checkout/#custom-checkout-settings applies to the agent job's checkout step only.
To get around this issue, I would run the following command after executing
gh aw compile:Could you please look into this issue?