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

Github action for publishing to DITA-OT registry #74

Open
stefan-jung opened this issue Mar 24, 2020 · 2 comments · May be fixed by #94
Open

Github action for publishing to DITA-OT registry #74

stefan-jung opened this issue Mar 24, 2020 · 2 comments · May be fixed by #94

Comments

@stefan-jung
Copy link
Contributor

Description

When releasing a new version of a plugin I want to automatically add it to the DITA-OT registry. It would be nice if this could be done automatically. If this would be possible, it would be even nicer to read in the docs how this works. Currently, this takes some effort (cloning, hashing, pull request, ...).

Possible Solution

It would be nice if this could be done automatically using Github Actions. If this would be possible, it would be even nicer to read in the docs how this works.

@infotexture
Copy link
Member

@xephon2 Thanks for this suggestion, I think it's a good idea that's worth exploring.

That said, I think this may be better treated as a feature request for the registry itself, rather than as a documentation issue, as the action would need to be developed before it could be documented. For that reason, I'll transfer this issue to the registry repo.

@infotexture infotexture transferred this issue from dita-ot/docs Mar 24, 2020
@infotexture
Copy link
Member

We've been exploring GitHub Actions for our automation needs, but there are a number of moving parts to consider here.

If someone were to develop an action, it would require access tokens to authenticate with the registry and create pull requests, and each plug-in author would need to add the action to their plug-in repositories, as the action would need to fire on pushes to the plug-in repo rather than the registry.

If anyone is interested in picking this up, there is work-in-progress code available in dita-ot/dita-ot#3477, which was designed for a similar purpose and could possibly serve as a template for an action that triggers on pushes to one repo and creates pull requests to another.

@jason-fox jason-fox linked a pull request Feb 14, 2021 that will close this issue
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