Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple actions in single README #205

Closed
shakefu opened this issue Apr 14, 2022 · 2 comments · Fixed by #505
Closed

Support multiple actions in single README #205

shakefu opened this issue Apr 14, 2022 · 2 comments · Fixed by #505

Comments

@shakefu
Copy link

shakefu commented Apr 14, 2022

We have a use case where we'd like to support having multiple subdirectory actions output their docs to a single README at the top level. Right now action-docs only supports the single <!-- action-docs--... --> tags which means running it against multiple actions overwrites the previous generated action.

Right now multiple --action arguments generates an error (received array instead of string) and running action-docs multiple times with different --action arguments obviously overwrites the previous runs.

Is this something that could be supported?

@npalm
Copy link
Owner

npalm commented May 24, 2022

Nice idea, feel free to raise a PR. I think the GitHub module is still one action per repostiroy, but happy to support the feature here.

@shakefu
Copy link
Author

shakefu commented May 25, 2022

I think the GitHub module is still one action per repostiroy

Actually they point to their own CodeQL actions as an example of multi-action repositories. https://github.com/github/codeql-action

However the Action Marketplace doesn't support multi-action repositories yet. Still works great though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants