Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

value from the inputs are not passing to the called workflow when using Reusable workflow scenario #3100

Open
prasoon-pxc opened this issue May 5, 2023 · 0 comments
Labels

Comments

@prasoon-pxc
Copy link

I am using a Reusable workflow with one input variable , while I am calling this workflow from another workflow input value is not getting passed.


CALLED_WORKFLOW

name: called workflow

on:
  workflow_call:
    inputs:
      custom_chart_name:
        required: false
        type: string

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Test1
        run: |
          export CUSIN="${{ github.event.inputs.custom_chart_name }}"
          echo $CUSIN

CALLER_WORKFLOW

name: caller workflow

on:
  push:
   branches:
    - main

jobs:
  helm:
    uses: ./.github/workflows/test.yaml
    with:
      custom_chart_name: "global-monitoring"


not getting value of $CUSIN in output

@prasoon-pxc prasoon-pxc added the bug label May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant