stoat-dev / stoat-action Goto Github PK
View Code? Open in Web Editor NEWTurn pull request comments into developer dashboards.
Home Page: https://www.stoat.dev
License: MIT License
Turn pull request comments into developer dashboards.
Home Page: https://www.stoat.dev
License: MIT License
see #115 (comment) and the reply
We now provide the merged config input to a sandbox vm for JS which is detected when a the template file has a .js
extension and process the console logs as the markdown displayed in the Github comment.
We also provide the config input to Jinja2 for .jinja2
extensions.
We just need to document that usage so people can use it.
When baseline
does not exist, compare the image in the PR with the one from the default branch.
Relate to #96.
It may be beneficial to make the overall comment shorter by using two columns:
Easy and customizable dashboards for your build system. Learn more about Stoat ↗︎
Static Hosting | Job Runtime | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
I'd be curious what everyone thinks about this vs the current default.
Release process:
latest
, vN
and vN.M
tags.The current tasks
field has task configs as its first level citizen. This can be weird for global plugins (i.e. plugins that only needs to be configured once per repo). For example, the job_runtime
should only be included in one task, but currently it is possible to set it in multiple tasks.
A stoat config schema that can enforce the uniqueness of global plugins is as follows. It adds a plugins
field, under which plugin configs are first level citizens:
----
version: 1
enabled: true
plugins:
static_hosting:
jest-coverage-report:
path: /coverage/lcov-report
metadata:
name: `jest` report
jacoco-report
path: /build/jacoco/report
metadata:
name: `jacoco` report
job_runtime:
However, it is possible that it is not a good idea. A plugin that is "global" today may not be the case tomorrow. For example, there may be legit use cases for setting up job_runtime
tasks multiple times so that different jobs can have their runtime chart presented in different styles or formats. So we should not rush in the implementation of this issue.
stoat init
failed in stoat-dev/example-elixir#2 even though the workflow file appears to be valid YAML with the warning:
Skipping workflow build.yaml: invalid YAML
The current approach won't work well for large files.
When the Stoat app is not installed, the Stoat comment won't show up in the pull requests, which can be confusing to users.
Here is the solution if the Stoat config is enabled, but the Stoat app is not install:
This issue depends on the tracking of Stoat app installation implemented in https://github.com/stoat-dev/stoat/pull/139.
See #46 (comment) for details and current problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.