mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fix: fetch correct branch name in helm-release workflow (#8744)
Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com> Signed-off-by: shuting <shuting@nirmata.com> Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
parent
a95744a69c
commit
8a1a61728a
1 changed files with 3 additions and 1 deletions
4
.github/workflows/helm-release.yaml
vendored
4
.github/workflows/helm-release.yaml
vendored
|
@ -28,8 +28,10 @@ jobs:
|
|||
python-version: 3.7
|
||||
- name: Set up chart-testing
|
||||
uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76 # v2.4.0
|
||||
- name: Set reference
|
||||
run: echo "REF=${{ github.event.pull_request && github.base_ref || github.ref_name }}" >> $GITHUB_ENV
|
||||
- name: Run chart-testing (lint)
|
||||
run: ct lint --target-branch=main --check-version-increment=false
|
||||
run: ct lint --target-branch=$REF --check-version-increment=false --validate-maintainers=false
|
||||
|
||||
linter-artifacthub:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue