Giter Site home page Giter Site logo

git-actions's Introduction

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"
}

git-actions's People

Contributors

mscoutermarsh avatar srt32 avatar toksdotdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

git-actions's Issues

Workflow Definition in Readme is not yaml

Hi

I'm confused and I beg for some clarification.

Every document from github on how to write workflows are displaying yaml. In your readme it's not yaml. Can you please refer to a document from Github explaining the DSL you are using in your readme, or make some example on how to integrate git-actions into yaml workflows.

I'm eager to hear from you, and finally to be able to integrate git-actions into my workflow.
Cheers Emanuel

cannot clone submodule => error: cannot run ssh: No such file or directory

github workflow yaml:

name: Struo2

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    name: build (${{ matrix.python-version }}, ${{ matrix.os }})
    runs-on: ubuntu-latest
    env:
      DATADIR: data
    strategy:
      matrix:
        python-version: [3.6, 3.7]
    steps:
    - uses: conda-incubator/setup-miniconda@v2
      with:
        miniconda-version: 'latest'
        auto-update-conda: true
        python-version: ${{ matrix.python-version }}
        channels: conda-forge,bioconda
        activate-environment: struo2
    - name: Checkout repository
      uses: actions/checkout@v2
    - name: Checkout submodules
      uses: srt32/[email protected]
      with:
        args: git submodule update --init --recursive

Error:

Starting the git Action
Submodule 'bin/ll_pipeline_utils' ([email protected]:leylabmpi/ll_pipeline_utils.git) registered for path 'bin/ll_pipeline_utils'
Cloning into '/github/workspace/bin/ll_pipeline_utils'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
fatal: clone of '[email protected]:leylabmpi/ll_pipeline_utils.git' into submodule path '/github/workspace/bin/ll_pipeline_utils' failed
Failed to clone 'bin/ll_pipeline_utils'. Retry scheduled
Cloning into '/github/workspace/bin/ll_pipeline_utils'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
fatal: clone of '[email protected]:leylabmpi/ll_pipeline_utils.git' into submodule path '/github/workspace/bin/ll_pipeline_utils' failed
Failed to clone 'bin/ll_pipeline_utils' a second time, aborting

Cloning the repo & submodule locally works just fine. Both GitHub repos are public.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.