I've previously used GitLab, where I didn't checkout the repository explicitly. Instead it was done automatically by the pipeline.
Thus, I was surprised that almost all GitHub Actions workflows use e.g. actions/checkout@v3
.
But what's the purpose besides checking out a different repository?
As seen from the below screenshot, my repository is already checked out, when the job starts: