Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c293c12

Browse files
Document environment variables
1 parent 8276794 commit c293c12

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,14 @@ Run a script on multiple repositories, cloning them if needed.
1717
-v, --version Displays current version
1818
-h, --help Displays this message
1919
```
20+
21+
## Environment variables
22+
23+
The script gets run with additional environment variables.
24+
25+
| Environment Variable Name | Description |
26+
|---------------------------|-----------------------------------------------------------------------------------------------------|
27+
| `REPO_OWNER` | The owner of the repository |
28+
| `REPO_NAME` | The name of the repository |
29+
| `REPO` | The value of "`REPO_OWNER`/`REPO_NAME`" |
30+
| `REPO_PATH` | The path to the repository on the filesystem. The same path as the working directory of the script. |

0 commit comments

Comments
 (0)