Skip to content

VeyronSakai/display-inputs-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

231 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Display Inputs Action

A GitHub Action to display workflow_dispatch input values in a table format on GitHub Job Summary.

Features

  • Automatically retrieves workflow_dispatch inputs
  • Displays inputs in an easy-to-read table format on Job Summary
  • No actions/checkout required

Screenshot showing workflow dispatch inputs displayed in table format on GitHub Job Summary

Usage

Basic Example

name: Display Workflow Inputs

on:
  workflow_dispatch:
    inputs:
      environment:
        description: 'Deployment Environment'
        required: true
        type: choice
        options:
          - development
          - staging
          - production
      version:
        description: 'Version Number'
        required: true
        type: string
      debug:
        description: 'Debug Mode'
        required: false
        type: boolean
        default: false

jobs:
  display-inputs:
    runs-on: ubuntu-latest
    steps:
      - name: Display workflow inputs
        uses: VeyronSakai/display-inputs-action@v0.1

This action fetches the workflow file using GitHub API, so actions/checkout is not required.

Output Example

When you run this action, a table like the following will be displayed in the Job Summary:

Name Description Value
environment Deployment Environment production
version Version Number 1.2.3
debug Debug Mode true

License

MIT License - See LICENSE for details.

About

Action to display workflow_dispatch input values on GitHub Job Summary.

Topics

Resources

License

Stars

Watchers

Forks

Contributors