From e27918b8a9707808799140ba1540051b00065b7d Mon Sep 17 00:00:00 2001 From: Chris Werner Rau Date: Tue, 24 Sep 2024 12:54:20 +0200 Subject: [PATCH] fix(ci): wrong usage of workflow (#1188) chore(ci): set input as required --- .github/workflows/check-licenses.yaml | 2 ++ .github/workflows/get-changed-chart.yaml | 1 + .github/workflows/get-changed-charts.yaml | 1 + 3 files changed, 4 insertions(+) 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