diff --git a/.github/workflows/create-hotfix-branch.yaml b/.github/workflows/create-hotfix-branch.yaml index ff9608628e..e466ed0868 100644 --- a/.github/workflows/create-hotfix-branch.yaml +++ b/.github/workflows/create-hotfix-branch.yaml @@ -12,6 +12,9 @@ jobs: # Only allow these users to create new hotfix branch if: github.ref == 'refs/heads/main' && (github.actor == 'ItsSudip' || github.actor == 'krishna2020' || github.actor == 'saikumarrs') && (github.triggering_actor == 'ItsSudip' || github.triggering_actor == 'krishna2020' || github.triggering_actor == 'saikumarrs') steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Check Stale Release Branches id: stale-release-branches run: | @@ -19,12 +22,6 @@ jobs: echo "Stales release branches list: $branches_list" echo "branches_list=$branches_list" >> $GITHUB_OUTPUT - - name: Checkout - if: steps.stale-release-branches.outputs.branches_list == '' - uses: actions/checkout@v3 - with: - fetch-depth: 1 - - name: Setup Node if: steps.stale-release-branches.outputs.branches_list == '' uses: actions/setup-node@v3