create-environments

command module
v0.0.0-...-bf102f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2021 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Create environments for repositories

Build Integration Test

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

Inputs

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL