diff --git a/action.yml b/action.yml index 5492d8d..e590ee2 100644 --- a/action.yml +++ b/action.yml @@ -2,12 +2,18 @@ name: set-product-version author: Release Engineering description: Automates setting product version +inputs: + checkout: + description: | + Check out the code repository. Can be disabled if checkout is handled by the caller workflow. + default: true runs: using: composite steps: - - uses: actions/checkout@v3 + - if: inputs.checkout == 'true' + uses: actions/checkout@v3 - name: Check if Version File Exists shell: bash env: