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) (#8745)

Signed-off-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
Signed-off-by: shuting <shuting@nirmata.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
This commit is contained in:
shuting 2023-10-26 17:30:29 +08:00 committed by GitHub
parent f9fccbd0bf
commit 526d4895b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,8 +24,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