Skip to content

Git try push

Actions
Try to push to remote repository specified number of times
v1.0.1
Latest
Star (1)

Git try push GitHub Action

An action that tries to make a git push. If it does not succeed, then wait some time, perform git pull --rebase and try again. The number of maximum tries is controllable via tries input.

Usage

- name: Try pushing
  uses: dawidd6/action-git-try-push@v1
  with:
    # Optional, used for pushing
    token: ${{github.token}}
    # Optional, defaults to current directory
    directory: path/to/repo
    # Optional, defaults to:
    remote: origin
    # Optional, defaults to:
    branch: master
    # Optional, defaults to:
    tries: 20

Git try push is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Try to push to remote repository specified number of times
v1.0.1
Latest

Git try push is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.