An error will be reported when updating the submodule
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8.9k
- Forks
- 2.8k
- PR merge metrics
- No merged PRs in 30d
Description
When calling the checkout action, an error will be reported. This is the task link: https://github.com/PaddlePaddle/Paddle/actions/runs/14889303999/job/41817146967?pr=72610.
Occasionally, it doesn't happen every time, but sometimes it succeeds after rerun.
This is my code
- name: Clone paddle
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
submodules: 'recursive'
fetch-depth: 1000
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked GitHub Actions job log and the provided actions/checkout@v4 configuration. Reproduce the intermittent failure using recursive submodules and fetch-depth 1000, comparing failed and successful reruns. Done means the checkout completes reliably without the reported submodule error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100