-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
questionFurther information is requestedFurther information is requested
Description
We can envision at least two ways for how the scripts can be used on GitHub
- Use them directly in other repositories' workflows, i.e.
git clone --depth=1 releng-scripts; ./releng-scripts/foo ... - Host the scripts in a specific repository and trigger them via
workflow_dispatch, i.e. they'd not be used directly
With the workflow_dispatch approach we'd be able to set up secrets in a single repository, which would be dispatch <ed to from other repositories. Otherwise, if we use the scripts directly we'll need to set up secrets on each repository that they are used, which seems worse.
The workflow_dispatch approach's downside is that we can't transfer files from one repository's workflow to another via workflow_dispatch, so we'd have to
- Upload the artifacts to GitHub in repository A (
actions/upload-artifact@v3) - Trigger
workflow_dispatchto repository B - Download the artifacts in the
dispatched workflow from repository B
Using the scripts directly seems more convenient in this regard since we can use the files directly, without having to download them after workflow_dispatch.
cc @chevdor
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested