wtzd8645/Sync Git Repo Action
Used for synchronizing a Git repository. Supports cross-platform.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo_path | The path to the repository to sync. Defaults to github.workspace. | — | ${{ github.workspace }} |
| git_server | The Git server to sync. Defaults to github.com. | — | github.com |
| use_ssh | Use SSH for Git authentication. Defaults to false. | — | false |
| personal_access_token | Personal Access Token (PAT) for Git authentication. Defaults to github.actor:github.token. | — | ${{ github.actor }}:${{ github.token }} |
| repo_name | The repository to sync. Defaults to github.repository. | — | ${{ github.repository }} |
| ref_name | The branch or tag to sync. Defaults to github.ref_name | — | ${{ github.ref_name }} |
| deep_clean | If true, uses the --ffdx flag to remove all untracked and ignored files; otherwise, uses -ffd to remove only untracked files. Defaults to false. | — | false |
| use_lfs | Use Git LFS for large file support. Defaults to false. | — | false |
Outputs
no outputs