Terraform after creating dataform repositories with the following setting. The repository is created in dataform but unable to access.Getting token as invalid refer the screenshot.
git_remote_settings {
url = "https://github.com/test-group/**-app.git"
default_branch = "main"
authentication_token_secret_version = google_secret_manager_secret_version.secret_version.id
}

Can you try adding this role to your service account:
Dataform Admin (roles/dataform.admin)Also for reference please visit this guide.