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

[FEATURE] Reusable workflow testing #2264

Open
chrismclarke opened this issue Mar 27, 2024 · 0 comments
Open

[FEATURE] Reusable workflow testing #2264

chrismclarke opened this issue Mar 27, 2024 · 0 comments
Assignees
Labels
feature Work on app features/modules

Comments

@chrismclarke
Copy link
Member

chrismclarke commented Mar 27, 2024

What?
Mentioned in #2235 (comment), we have a set of reusable workflows designed to be used from a content repo, however changes to these can only be tested post merge. Ideally we want to enable a better way to test a given branch action against a testing deployment repo branch.

Why?
Particularly for action updates that will impose breaking changes, good to clarify in advance that proposed changes work as intended instead of potentially requiring further iteration

How?
Likely some soft of reusable_workflow_test action that can be triggered from a branch using a workflow_dispatch, with inputs for the name of the workflow (possibly a dropdown list of reusable workflows), name of core branch (e.g. feat/workflow_updates), name and branchof target content repo (default to the debug_app/main repo) and possibly an input to override env variables for the run (e.g. json string that can be parsed and set to env as part of workflow).

This workflow should then trigger the related reusable workflow, passing parameters execute against the target deployment and source code.

NOTE - Should also confirm it is possible to use actions from a given target branch first

Other details
The reusable workflows might need minor modification if not already setup to allow core/content repo checkout at specific branches or tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Work on app features/modules
Projects
None yet
Development

No branches or pull requests

2 participants