command
module
Version:
v0.0.0-...-bf102f4
Opens a new window with list of versions in this module.
Published: Dec 24, 2021
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Create environments for repositories

Usage
Create a workflow file in your .github/workflows/ directory with the following contents:
Example
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Create environments
uses: thijsvtol/create-environments@main
with:
token: ${{ secrets.GHP }}
repo: ${{ github.repository }}
environments: test,prod
required_reviewers: your-username
wait_time: 5
protected_branches_only: true
| input |
required |
type |
default |
| token |
true |
access token |
- |
| repo |
true |
string |
- |
| environments |
true |
string sepperated by , |
- |
| required_reviewers |
false |
string sepperated by , |
- |
| wait_time |
false |
int |
0 |
| protected_branches_only |
false |
boolean |
false |
Note1: token requires the repo scope
Note2: required_reviewers can be a user or team (max 6 allowed)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.