all AI news
Dynamically Populating Parameters in Manual GitHub Action
March 21, 2024, 9:11 p.m. | jeevan wijerathna
DEV Community dev.to
Overview
When manually running a GitHub Action with configured choice parameters, it's ideal to have the values dynamically generated and displayed in a drop-down menu. This can be accomplished by creating a GitHub Action that updates the parameters in the YAML file of the main action whenever changes are pushed.
GitHub Action to Update YAML File
Here is a GitHub Action designed to populate the option values:
name: 'Populate option values'
on:
push:
branches:
- 'main'
jobs:
eslint:
name: Populate …
file generated git github overview parameters running updates values yaml
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
Senior ML Engineer
@ Carousell Group | Ho Chi Minh City, Vietnam
Data and Insight Analyst
@ Cotiviti | Remote, United States