From 90137a03cd1661a6bad7839bca1c32986fa967de Mon Sep 17 00:00:00 2001 From: Kody Stribrny Date: Fri, 27 Mar 2026 16:27:51 -0700 Subject: [PATCH] Revert fork repo testing changes --- .github/workflows/auto-release.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index e0f6dffa3..0b76fdabe 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -115,11 +115,9 @@ jobs: env: VERSION_NUMBER: ${{ github.event.inputs.version_number }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - REPO_FULL_NAME: ${{ github.repository }} working-directory: ./local_kernel run: | PR_URL=$(gh pr create \ - --repo "$REPO_FULL_NAME" \ --base main \ --head "release-prep-$VERSION_NUMBER" \ --title "[AUTO][RELEASE]: Release $VERSION_NUMBER" \ @@ -129,12 +127,11 @@ jobs: - name: Wait for PR to be merged env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - REPO_FULL_NAME: ${{ github.repository }} working-directory: ./local_kernel run: | PR_NUMBER=$(echo "$PR_URL" | grep -oE '[0-9]+$') while true; do - STATE=$(gh pr view "$PR_NUMBER" --repo "$REPO_FULL_NAME" --json state --jq .state) + STATE=$(gh pr view "$PR_NUMBER" --json state --jq .state) if [ "$STATE" = "MERGED" ]; then echo "PR merged successfully" break @@ -199,7 +196,7 @@ jobs: working-directory: ./local_kernel run: | # Only delete release-prep branch if the PR was already merged - PR_STATE=$(gh pr list --repo "${{ github.repository }}" --head "release-prep-$VERSION_NUMBER" --json state --jq '.[0].state' 2>/dev/null || echo "") + PR_STATE=$(gh pr list --head "release-prep-$VERSION_NUMBER" --json state --jq '.[0].state' 2>/dev/null || echo "") if [ "$PR_STATE" = "MERGED" ] || [ -z "$PR_STATE" ]; then git push origin --delete "release-prep-$VERSION_NUMBER" || true else