- Notifications
You must be signed in to change notification settings - Fork1.2k
Don't actually create a PR#589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
@@ -39,8 +39,7 @@ jobs: | ||||||||
needs: validate | ||||||||
runs-on: ubuntu-latest | ||||||||
outputs: | ||||||||
tag: ${{ steps.tag-release.outputs.tag }} | ||||||||
steps: | ||||||||
- name: Checkout repository | ||||||||
@@ -100,38 +99,12 @@ jobs: | ||||||||
fi | ||||||||
- name: Tag the release | ||||||||
id: tag-release | ||||||||
run: | | ||||||||
TAG="${{ github.event.inputs.tag }}" | ||||||||
git tag -a "${TAG}" -m "Release ${TAG}" | ||||||||
echo "✅ Created tag ${TAG}" | ||||||||
echo "tag=${TAG}" >> $GITHUB_OUTPUT | ||||||||
- name: Push tag | ||||||||
run: | | ||||||||
@@ -164,8 +137,7 @@ jobs: | ||||||||
steps: | ||||||||
- name: Release Summary | ||||||||
run: | | ||||||||
TAG="${{ needs.release.outputs.tag }}" | ||||||||
echo "## 🎉 Release $TAG has been initiated!" | ||||||||
echo "" | ||||||||
@@ -174,12 +146,13 @@ jobs: | ||||||||
echo "2. ✏️ Edit the new release, delete the existing notes and click the auto-generate button GitHub provides" | ||||||||
echo "3. ✨ Add a section at the top calling out the main features" | ||||||||
echo "4. 🚀 Publish the release" | ||||||||
echo "5. � Create a Pull Request from 'next' to 'main' branch with title 'Release $TAG'" | ||||||||
echo "6. �🔀 Merge the pull request into main" | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. The '�' symbol in the instructions seems to be an encoding error. Consider replacing it with a clear and appropriate symbol or text. Suggested change
Copilot uses AI. Check for mistakes. | ||||||||
echo "7. 📢 Post message in #gh-mcp-releases channel in Slack and then share to the other mcp channels" | ||||||||
echo "" | ||||||||
echo "### Resources:" | ||||||||
echo "- 📦 Draft Release: https://github.com/${{ github.repository }}/releases/tag/$TAG" | ||||||||
echo "- 🔄Create PR: https://github.com/${{ github.repository }}/compare/main...next" | ||||||||
echo "" | ||||||||
echo "The release process is now ready for your review and completion!" | ||||||||
@@ -192,11 +165,13 @@ jobs: | ||||||||
2. ✏️ Edit the new release, delete the existing notes and click the auto-generate button GitHub provides | ||||||||
3. ✨ Add a section at the top calling out the main features | ||||||||
4. 🚀 Publish the release | ||||||||
5. � [Create a Pull Request](https://github.com/${{ github.repository }}/compare/main...next) from 'next' to 'main' branch with title 'Release $TAG' | ||||||||
6. �🔀 Merge the pull request into main | ||||||||
7. 📢 Post message in #gh-mcp-releases channel in Slack and then share to the other mcp channels | ||||||||
### Resources: | ||||||||
- 📦 [Draft Release](https://github.com/${{ github.repository }}/releases/tag/$TAG) | ||||||||
- 🔄 [Create PR](https://github.com/${{ github.repository }}/compare/main...next) | ||||||||
The release process is now ready for your review and completion! | ||||||||
EOF |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -77,46 +77,16 @@ jobs: | ||||||
env: | ||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||
- name:Provide syncinstructions | ||||||
id: sync-instructions | ||||||
if: steps.branch-status.outputs.needs-sync == 'true' && steps.existing-pr.outputs.has-existing-pr == 'false' | ||||||
run: | | ||||||
BEHIND_COUNT="${{ steps.branch-status.outputs.behind-count }}" | ||||||
AHEAD_COUNT="${{ steps.branch-status.outputs.ahead-count }}" | ||||||
echo "action-needed=true" >> $GITHUB_OUTPUT | ||||||
echo "🔄 Next branch needs syncing (${BEHIND_COUNT} commits behind main)" | ||||||
echo "� Manual PR creation required due to organization policies" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. The '�' character appears to be a mis-encoded or unintended symbol. Replace it with a proper emoji or text to improve clarity. Suggested change
Copilot uses AI. Check for mistakes. | ||||||
- name: Job Summary | ||||||
if: always() | ||||||
@@ -126,8 +96,7 @@ jobs: | ||||||
NEEDS_SYNC="${{ steps.branch-status.outputs.needs-sync }}" | ||||||
HAS_EXISTING_PR="${{ steps.existing-pr.outputs.has-existing-pr }}" | ||||||
EXISTING_PR="${{ steps.existing-pr.outputs.existing-pr }}" | ||||||
ACTION_NEEDED="${{ steps.sync-instructions.outputs.action-needed }}" | ||||||
cat << EOF >> $GITHUB_STEP_SUMMARY | ||||||
# 🔄 Branch Sync Status | ||||||
@@ -146,15 +115,36 @@ jobs: | ||||||
Please review and merge the existing PR to sync the next branch. | ||||||
EOF | ||||||
elif ["$ACTION_NEEDED" = "true" ]; then | ||||||
cat << EOF >> $GITHUB_STEP_SUMMARY | ||||||
## 📝 Manual Action Required: | ||||||
The \`next\` branch is ${BEHIND_COUNT} commits behind \`main\` and needs to be synced. | ||||||
**Please create a pull request manually:** | ||||||
1. 🌐 [Create PR: main → next](https://github.com/${{ github.repository }}/compare/next...main) | ||||||
2. 📝 Use title: **"Sync next branch with main"** | ||||||
3. 📄 Use this description: | ||||||
\`\`\`markdown | ||||||
## 🔄 Branch Sync | ||||||
This PR syncs the \`next\` branch with the latest changes from \`main\`. | ||||||
### Status: | ||||||
- **Behind main**: ${BEHIND_COUNT} commits | ||||||
- **Ahead of main**: ${AHEAD_COUNT} commits | ||||||
### What to do: | ||||||
1. 🔍 Review the changes in this PR | ||||||
2. ✅ Ensure all checks pass | ||||||
3. 🔀 Merge this PR to sync the \`next\` branch | ||||||
4. 🗑️ The \`next\` branch will then be ready for new development | ||||||
\`\`\` | ||||||
4. 🏷️ Add labels: \`automated\`, \`sync\` | ||||||
5. ✅ Review and merge when ready | ||||||
EOF | ||||||
fi | ||||||
else | ||||||
Uh oh!
There was an error while loading.Please reload this page.