Skip to content

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

License

Notifications You must be signed in to change notification settings

arthurbdiniz/gh-action-dropdown-list-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.