diff --git a/.github/workflows/sample_reusable.yaml b/.github/workflows/sample_reusable.yaml new file mode 100644 index 0000000..9ba3e44 --- /dev/null +++ b/.github/workflows/sample_reusable.yaml @@ -0,0 +1,15 @@ +name: Reusable workflow + +on: + workflow_call: + inputs: + value: + description: 'Value to echo' + required: true + type: string + +jobs: + echo: + runs-on: ubuntu-latest + steps: + - run: echo "${{ github.event.inputs.value }}"