name: Extract chart name from repo name description: Extracts the chart name from the repo name, based on the convention of helm- inputs: repo: description: The full repository name (e.g., "helm-my-chart") required: true outputs: chart-name: description: The extracted chart name value: ${{ steps.extract.outputs.suffix }} runs: using: "composite" steps: - id: extract shell: bash run: | full_repo="${{ inputs.repo }}" suffix="${full_repo##*helm-}" echo "suffix=$suffix" >> $GITHUB_OUTPUT