amezin/Create or update Git reference
Create or update a Git reference (branch or tag) through GitHub API
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | The owner and repository name, in `owner/name` format | yes | ${{ github.repository }} |
| ref | Git reference to update or create (including `refs/heads/` or `refs/tags` prefix) | yes | ${{ github.ref }} |
| sha | Target commit SHA | yes | ${{ github.sha }} |
| force | Allow non-fast-forward updates (like `git push --force`) | yes | false |
| github-token | GitHub API token to use | yes | ${{ github.token }} |
Outputs
no outputs