diff --git a/.github/workflows/check-licenses.yaml b/.github/workflows/check-licenses.yaml index 00cca23f5..b56b462bc 100644 --- a/.github/workflows/check-licenses.yaml +++ b/.github/workflows/check-licenses.yaml @@ -13,6 +13,8 @@ on: jobs: getChangedChart: uses: ./.github/workflows/get-changed-chart.yaml + with: + pr_number: ${{ github.event.pull_request.number }} check-licenses: name: check licenses runs-on: ubuntu-latest diff --git a/.github/workflows/get-changed-chart.yaml b/.github/workflows/get-changed-chart.yaml index 129dae3e7..0e486d7c0 100644 --- a/.github/workflows/get-changed-chart.yaml +++ b/.github/workflows/get-changed-chart.yaml @@ -5,6 +5,7 @@ on: inputs: pr_number: type: number + required: true outputs: chart: description: The name of the changed cart in the last commit diff --git a/.github/workflows/get-changed-charts.yaml b/.github/workflows/get-changed-charts.yaml index 3ba23cd93..8ea728a46 100644 --- a/.github/workflows/get-changed-charts.yaml +++ b/.github/workflows/get-changed-charts.yaml @@ -5,6 +5,7 @@ on: inputs: pr_number: type: number + required: true outputs: charts: description: The names of the changed charts in the PR