Skip to content

PythonCoderAS/github-run-script

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

github-run-script

Run a script on multiple repositories, cloning them if needed.

NOTE: The script has to be an absolute path, otherwise it will fail.

  Description
    Run a script on multiple repositories, cloning them if needed.

  Usage
    $ github-run-script <script> [options]

  Options
    -o, --owner          The owner for repositories without an explicit owner.
    -s, --search-path    A path to search for already-cloned repositories.
    -t, --terminate      Terminate any spawned processes on error.
    -s, --signal         The signal to terminate a process with.
    -v, --version        Displays current version
    -h, --help           Displays this message

Environment variables

The script gets run with additional environment variables.

Environment Variable Name Description
REPO_OWNER The owner of the repository
REPO_NAME The name of the repository
REPO The value of "REPO_OWNER/REPO_NAME"
REPO_PATH The path to the repository on the filesystem. The same path as the working directory of the script.

About

Run a script on multiple repositories, cloning them if needed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •