Skip to content
mic

GitHub Action

git Actions

v0.0.3 Latest version

git Actions

mic

git Actions

Run git commands

Installation

Copy and paste the following snippet into your .yml file.

              

- name: git Actions

uses: srt32/[email protected]

Learn more about this action in srt32/git-actions

Choose a version

GitHub Action for running git commands

You can run any git command you need. For example, you could run git status like this.

workflow "My build" {
  resolves = [
    "git command",
  ]
  on = "push"
}

action "git command" {
  uses = "srt32/[email protected]"
  args = "git status"
}