ad-m/GitHub Push
Pushing to GitHub repository local changes
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token or PAT token | no | — |
| github_token | GitHub token or PAT token | no | ${{ github.token }} |
| github_url | GitHub url or GitHub Enterprise url | no | ${{ github.server_url }} |
| ssh | Specify if ssh should be used | no | — |
| repository | Repository name to push. Default or empty value represents current github repository (${GITHUB_REPOSITORY}) | no | "" |
| branch | Destination branch to push changes | no | — |
| force | Determines if force push is used | no | — |
| force_with_lease | Determines if force-with-lease push is used | no | — |
| atomic | Determines if atomic push is used, default true | no | — |
| push_to_submodules | Determines if --recurse-submodules=<strategy> is used. The value defines the used strategy | no | on-demand |
| tags | Determines if --tags is used | no | — |
| push_only_tags | Determines if the action should only push the tags, default false | no | — |
| directory | Directory to change to before pushing. | no | . |
| pull | Determines if a pull should be performed before pushing. Accepts rebase, merge, ff-only, or true. When set to true, uses rebase. Default false. Requires the repository to be checked out on a real branch (not in detached HEAD state); the action will abort with an error if a detached HEAD is detected. | no | false |
Outputs
no outputs