From 65cc37171319aad87daad8fe23d3a42bbfd1213c Mon Sep 17 00:00:00 2001 From: Sheldon Date: Wed, 1 Mar 2023 10:55:44 +0800 Subject: [PATCH] fix release (#429) fix release Signed-off-by: Sheldon --- .github/mergify.yml | 7 +++++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 0fe91080..6aeec568 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -4,6 +4,9 @@ pull_request_rules: - or: - check-success=lint-test - check-success=Broken Links + - files=.github/mergify.yml + - files=.github/workflow/release.yml + - files=.github/workflow/checks.yml actions: label: add: @@ -11,7 +14,7 @@ pull_request_rules: - name: remove ci-passed when CI 'lint-test' not success conditions: - - check-success!=lint-test + - check-failure=lint-test - or: - files~=^charts/(.*\.yaml|.*\.helmignore|.*\.tgz|.*\.tpl) - files=.github/workflows/lint-test.yml @@ -23,7 +26,7 @@ pull_request_rules: - name: remove ci-passed when CI 'Broken Links' not success conditions: - - check-success!=Broken Links + - check-failure=Broken Links - files~=.*\.md$ actions: label: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1f0edd2..05aadb1e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,8 @@ name: Release Charts # This workflow is triggered on pushes or pull request to the repository. on: push: - tags: - - 'v[1-9]+.[0-9]+.[0-9]+' + branches: + - master jobs: release: