ovsds/Create Or Update Ref

Create ref with a given SHA or update it if it already exists.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Dec 28, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: ovsds/create-or-update-ref-action@1157b2991820188d5a8e6f22656775d1d171f762 # v1.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenGithub token used for API calls. Required scope - 'contents: write' ${{ github.token }}
ownerOwner of the repository ${{ github.repository_owner }}
repoRepository name ${{ github.event.repository.name }}
refRef name yes
shaRef SHA yes
forceDelete and create ref if it already exists instead of updating it false

no outputs