Skip to content

cqa-sandbox/cqa-js-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CQA Samples Validation Action

This is a work in progress.


Objective

Build a custom action that can:

  1. checkout a target samples repository
  2. validate the default build workflow
  3. run optional test workflows
  4. write result artifacts to a specified folder in local repo

where the action is invoked with:

  • inputs = config file listing one or targets
  • outputs = artifacts folder (with each target in a subfolder)

and action can be triggered by:

  • manual dispatch (browser)
  • regular schedule (cron)
  • push commits to branch (change to config file)
  • pull requests (change to config file)

Motivation

Add this custom action to the cqa-dashboard and have it be triggered to run on a regular schedule (e.g., nightly), followed by a second action that fetches the latest artifacts and rebuilds the dashboard.

  • moves from push to pull model for report updates
  • moves from individual to reusable action for build testing
  • moves from personal access token to org-level or default GITHUB_TOKEN usage

References


About

Custom GitHub Action For Validating Code Sample

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published