1
0
Fork 0
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:
Vishal Choudhary 2023-10-26 14:20:13 +05:30 committed by GitHub
parent a95744a69c
commit 8a1a61728a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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