This is a work in progress.
Build a custom action that can:
- checkout a target
samples
repository - validate the default build workflow
- run optional test workflows
- 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)
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
- Create custom actions
- Create JS action - w/ GitHub Actions Toolkit Node.js module
- Publishing actions in marketplace
- Github Actions Toolkit - with javascript-action template
- GitHub Reusable Workflows & Custom Actions
- GitHub Actions for VS Code