arthurbdiniz / gh-action-dropdown-list-input

Extends GitHub Action UI replacing plain text input fields to the dropdown.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gh-action-dropdown-list-input

Extends GitHub Action UI replacing plain text input fields to the dropdown.

showcase

Install extension

Configuring tags

Go to the top right corner of the browser you are using and click on the extension logo. A screen will popup with tag options. Choose the right tags for you and save it.

This action might require reloading the GitHub workflow tab.

config

Usage

  • Add inputs separated by commas and the default value by tag e.g. brackets.

gh-action-dropdown-list-input.yml

name: gh-action-dropdown-list-input

on:
  workflow_dispatch:
    inputs:
      environment:
        description: 'Environment'
        required: true
        default: 'dev,staging,[uat],prod'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
     - name: Print environment
        run: echo ${{ github.event.inputs.environment }}

Development

Package extension

# Chrome
make package-chrome

# Firefox
make package-firefox

License

Apache 2 Licensed. See LICENSE for full details.

About

Extends GitHub Action UI replacing plain text input fields to the dropdown.

License:Apache License 2.0


Languages

Language:JavaScript 80.8%Language:HTML 17.2%Language:Makefile 2.0%