You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked into reusable workflows, I think they're like 90% what we want, which IMO is good enough.
Basically you add on: [workflow_call] to your workflow, and then it can be called by others. The catch is that it must be in the .github/workflows directory, which means that the repository its in has to actually support those jobs, it can't just be a generic repository like this one. So we would probably keep the actual docs workflow in say, securedrop-docs, and have the other docs repos refer to that one.
GitHub Actions supports reusing workflow across repositories:
https://github.blog/2022-02-10-using-reusable-workflows-github-actions/
The text was updated successfully, but these errors were encountered: