Revert - dev testing changes

This commit is contained in:
Kody Stribrny 2026-03-27 16:05:43 -07:00
parent 80ff337b11
commit 4582e77cd4

View file

@ -106,9 +106,11 @@ jobs:
env: env:
VERSION_NUMBER: ${{ github.event.inputs.version_number }} VERSION_NUMBER: ${{ github.event.inputs.version_number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_FULL_NAME: ${{ github.repository }}
working-directory: ./local_kernel working-directory: ./local_kernel
run: | run: |
PR_URL=$(gh pr create \ PR_URL=$(gh pr create \
--repo "$REPO_FULL_NAME" \
--base main \ --base main \
--head "release-prep-$VERSION_NUMBER" \ --head "release-prep-$VERSION_NUMBER" \
--title "[AUTO][RELEASE]: Release $VERSION_NUMBER" \ --title "[AUTO][RELEASE]: Release $VERSION_NUMBER" \
@ -118,11 +120,12 @@ jobs:
- name: Wait for PR to be merged - name: Wait for PR to be merged
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_FULL_NAME: ${{ github.repository }}
working-directory: ./local_kernel working-directory: ./local_kernel
run: | run: |
PR_NUMBER=$(echo "$PR_URL" | grep -oP '\d+$') PR_NUMBER=$(echo "$PR_URL" | grep -oE '[0-9]+$')
while true; do while true; do
STATE=$(gh pr view "$PR_NUMBER" --json state --jq .state) STATE=$(gh pr view "$PR_NUMBER" --repo "$REPO_FULL_NAME" --json state --jq .state)
if [ "$STATE" = "MERGED" ]; then if [ "$STATE" = "MERGED" ]; then
echo "PR merged successfully" echo "PR merged successfully"
break break