From 05e8f7b80764243766eb45023f0286e6133bf726 Mon Sep 17 00:00:00 2001 From: Kori Kuzma Date: Tue, 24 Feb 2026 10:16:34 -0500 Subject: [PATCH] ci: remove get_branch job for pypi release * This is from over 4 years ago and I don't think we actually need this. There are times when we want to create releases off other branches (and its easy to forget to update). I think we should just remove --- .github/workflows/release.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f09a00f6..8880ce39 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,25 +4,9 @@ on: tags: - "*.*.**" jobs: - get_branch: - runs-on: ubuntu-latest - outputs: - branch_name: ${{ steps.get_branch_name.outputs.name }} - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Get branch name - id: get_branch_name - run: | - raw=$(git branch -r --contains ${{ github.ref }}) - branch=$(echo "$raw" | grep "origin/main" | grep -v "HEAD" | sed "s|origin/||" | xargs) - echo "name=$branch" >> "$GITHUB_OUTPUT" build: name: Build distribution runs-on: ubuntu-latest - needs: get_branch - if: needs.get_branch.outputs.branch_name == 'main' steps: - uses: actions/checkout@v4 - name: Set up Python