DSACMS / repo-scaffolder

Templates and commandline tools for creating repositories for US Federal open source projects
Creative Commons Zero v1.0 Universal
21 stars 8 forks source link

Add workflow_call trigger to workflow #112

Closed JosephGasiorekUSDS closed 1 month ago

JosephGasiorekUSDS commented 1 month ago

module-name: Add workflow_call trigger

Problem

When using the repo-scaffolder I was receiving the following error message in the checks.yml:


error parsing called workflow
".github/workflows/checks.yml"
-> "DSACMS/repo-scaffolder/.github/workflows/extendJSONFile.yml@add-repolinter-workflows" (source branch with sha:f06340f5e852f5ac242bf492d7930e7a3d376481)
: workflow is not reusable as it is missing a `on.workflow_call` trigger

Solution

Add the workflow_call trigger to the yml file.

Result

Should be able to use the workflow now.

Test Plan

JosephGasiorekUSDS commented 1 month ago

Tagging @IsaacMilarky and @natalialuzuriaga for review.