Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/daily-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,15 @@ jobs:
if: env.NEW_VERSION
run: |
# Get the PR number from the previous step
PR_NUMBER=$(gh pr list --head "release/${{ env.NEW_VERSION }}" --json number --jq '.[0].number')
PR_NUMBER=$(gh pr list --head "release/$NEW_VERSION" --json number --jq '.[0].number')
if [ -n "$PR_NUMBER" ]; then
# Trigger the test workflow manually for this PR
gh workflow run tests.yml --ref "release/$NEW_VERSION"
echo "Triggered test workflow for branch release/$NEW_VERSION"

# Wait a moment for the workflow to start
sleep 10

gh pr merge $PR_NUMBER --auto --squash
echo "Auto-merge enabled for PR #$PR_NUMBER"
fi
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/package-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,12 @@ jobs:
--base main \
--head "$BRANCH_NAME")

# Trigger the test workflow manually for this PR to ensure tests run
gh workflow run tests.yml --ref "$BRANCH_NAME"
echo "Triggered test workflow for branch $BRANCH_NAME"

# Wait a moment for the workflow to start
sleep 10

# Enable auto-merge with squash strategy
gh pr merge "$PR_URL" --auto --squash
Loading