steps to reproduce:
project repository:
on: [pull_request, pull_request_target]
jobs:
callable-workflow:
uses: user/actions/.github/workflows/callable-workflow.yml@main
callable workflow:
on: workflow_call
jobs:
call:
timeout-minutes: 5
steps:
- uses: actions/checkout@v3.5.3
- ...
result:
during the "Checking out the ref" step:
/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
here's a real example: https://github.com/ahmadnassri/template-action-composite/actions/runs/5662593659/job/15342828405

steps to reproduce:
project repository:
callable workflow:
result:
during the "Checking out the ref" step:
here's a real example: https://github.com/ahmadnassri/template-action-composite/actions/runs/5662593659/job/15342828405