gizumon / github-actions-documenter Goto Github PK
View Code? Open in Web Editor NEWAuto documentation for GitHub Actions (Reusable Workflows / Custom Actions)
License: MIT License
Auto documentation for GitHub Actions (Reusable Workflows / Custom Actions)
License: MIT License
This is a cool action.
It would be handy if there was a way to make a few things optional to make the documentation fit into existing documents a bit better:
Generated automatically ... Please do not edit the below manually.
configurable as a comment instead.I don't do much with typescript, but I could try to hack a patch together if that would help. I'm not sure where to start for testing, though.
Github has deprecated the set-output
mode of setting an output value. Instead they want us to output to an environment variable file.
I think this is the new API to call to remove the deprecation warnings:
core.exportVariable('envVar', 'Val');
Based on what I could find here:
https://github.com/actions/toolkit/blob/00282d61458d99f725588a9463b9d25dfda51c22/packages/core/README.md#exporting-variables
I'm not sure how this can happen from looking at the code, but it appears there is an extra, trailing \n
line after the end of comment marker.
In successive runs, I see 2 extra lines:
A workflow like this:
https://github.com/xmidt-org/shared-go/blob/d0737af7255c581ce3cc09b69b96ba16a5913b4e/.github/workflows/approve-dependabot.yml#L21
Doesn't show up in the list of workflows & the example isn't included.
It would be nice to have context highlighting since we're pretty sure the code block is going to be yaml format.
I think this is the place to add a trailing yaml
to the existing ```.
github-actions-documenter/src/markdown.ts
Line 28 in 30da95d
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.