Only check for version bump if PR targets main

Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-24 10:55:00 +01:00
parent a95ef9f3db
commit 3c7d828954
+1 -1
View File
@@ -64,7 +64,7 @@ jobs:
- name: Run chart-testing (lint)
run: |
ct lint --debug \
ct lint --debug ${{ github.base_ref != 'main' && '--check-version-increment=false' || '' }} \
--target-branch ${{ github.base_ref }}
outputs: