Skip to content

⚙️ A GitHub Action to push changes with tries count

License

Notifications You must be signed in to change notification settings

cutlerydrawer/action-git-try-push

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: cutlerydrawer/action-git-try-push@v2
  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

About

⚙️ A GitHub Action to push changes with tries count

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%