From 983b31ebceee8dbcf0158e9d6eafdfbb663010e8 Mon Sep 17 00:00:00 2001 From: Jonathan Tissot Date: Mon, 22 Jan 2024 15:32:19 -0300 Subject: [PATCH] Removing branch validation --- .github/workflows/validate-pr.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index c5f855a..7561209 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml @@ -18,16 +18,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Check target and source branches - run: | - target_branch=${{ github.event.pull_request.base.ref }} - source_branch=${{ github.event.pull_request.head.ref }} - - if [[ $target_branch == "main" && $source_branch != "staging" ]]; then - echo "Error: Pull request from 'main' branch should have 'staging' as the source branch" - exit 1 - fi - - name: Lint Helm Charts run: | for charts in `ls -1 charts/`; do helm lint charts/$charts/; done