mirror of
https://github.com/github/awesome-copilot.git
synced 2026-06-25 17:00:20 +00:00
chore: publish from main
This commit is contained in:
@@ -20,10 +20,10 @@ jobs:
|
||||
!github.event.issue.pull_request &&
|
||||
contains(github.event.comment.body, '/re-review-')
|
||||
steps:
|
||||
- name: Checkout staged branch
|
||||
- name: Checkout main branch
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
with:
|
||||
ref: staged
|
||||
ref: main
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Node.js
|
||||
@@ -226,7 +226,7 @@ jobs:
|
||||
git commit -m "Remove external plugin ${plugin_name} after six-month re-review"
|
||||
git push --force-with-lease origin "$branch"
|
||||
|
||||
pr_url=$(gh pr list --head "$branch" --base staged --json url --jq '.[0].url')
|
||||
pr_url=$(gh pr list --head "$branch" --base main --json url --jq '.[0].url')
|
||||
if [ -z "$pr_url" ]; then
|
||||
pr_body=$(printf '%s\n' \
|
||||
'## Summary' \
|
||||
@@ -235,7 +235,7 @@ jobs:
|
||||
'- regenerate marketplace outputs after the six-month re-review decision' \
|
||||
"- closes #${issue_number} review follow-up for this listing")
|
||||
pr_url=$(gh pr create \
|
||||
--base staged \
|
||||
--base main \
|
||||
--head "$branch" \
|
||||
--title "[external-plugin] Remove ${plugin_name} after re-review" \
|
||||
--body "$pr_body")
|
||||
@@ -311,7 +311,7 @@ jobs:
|
||||
issue_number: context.issue.number,
|
||||
labels: ['re-review-due', 're-review-follow-up']
|
||||
});
|
||||
body = `Opened the removal PR for **${pluginName}**: ${prUrl}. The issue remains approved and due for re-review until that removal lands in \`staged\`.`;
|
||||
body = `Opened the removal PR for **${pluginName}**: ${prUrl}. The issue remains approved and due for re-review until that removal lands in \`main\`.`;
|
||||
}
|
||||
|
||||
await github.rest.issues.createComment({
|
||||
|
||||
Reference in New Issue
Block a user