Skip to content

Commit 3d489f8

Browse files
committed
Fix PR Feed Workflow
1 parent 66edff3 commit 3d489f8

File tree

1 file changed

+43
-46
lines changed

1 file changed

+43
-46
lines changed

.github/workflows/update-pr-feed.yml

Lines changed: 43 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -156,54 +156,51 @@ jobs:
156156
157157
# Create PR body file to avoid quoting issues
158158
if [ "$FEED_STATUS" = "success" ]; then
159-
cat > pr_body.md << 'EOF'
160-
## PR Feed Configuration Update
161-
162-
This PR updates the PR feed configuration with the latest RBA release tag.
163-
164-
### Changes
165-
- **RBA Tag**: `RBA_TAG_PLACEHOLDER`
166-
- **Updated Field**: `lastSelfHostedRelease.lastSaasCut`
167-
- **Feed Generation**: Success
168-
169-
### Generated Files
170-
- `docs/history/updates/index.md` - Updated markdown page with changes since last GA release
171-
- `docs/.vuepress/public/feeds/development.xml` - Updated RSS feed
172-
- `docs/.vuepress/public/feeds/development-atom.xml` - Updated Atom feed
173-
174-
### Triggered By
175-
Workflow dispatch from RBA release process
176-
177-
---
178-
*This PR was automatically created by the update-pr-feed workflow*
179-
EOF
159+
cat > pr_body.md << "EOFMARKER"
160+
## PR Feed Configuration Update
161+
162+
This PR updates the PR feed configuration with the latest RBA release tag.
163+
164+
### Changes
165+
- **RBA Tag**: ${RBA_TAG}
166+
- **Updated Field**: lastSelfHostedRelease.lastSaasCut
167+
- **Feed Generation**: Success
168+
169+
### Generated Files
170+
- docs/history/updates/index.md - Updated markdown page with changes since last GA release
171+
- docs/.vuepress/public/feeds/development.xml - Updated RSS feed
172+
- docs/.vuepress/public/feeds/development-atom.xml - Updated Atom feed
173+
174+
### Triggered By
175+
Workflow dispatch from RBA release process
176+
177+
---
178+
*This PR was automatically created by the update-pr-feed workflow*
179+
EOFMARKER
180180
else
181-
cat > pr_body.md << 'EOF'
182-
## PR Feed Configuration Update
183-
184-
This PR updates the PR feed configuration with the latest RBA release tag.
185-
186-
### Changes
187-
- **RBA Tag**: `RBA_TAG_PLACEHOLDER`
188-
- **Updated Field**: `lastSelfHostedRelease.lastSaasCut`
189-
- **Feed Generation**: **Failed**
190-
191-
### Action Required
192-
The feed generation script failed during this workflow run. Please:
193-
1. Review the workflow logs
194-
2. Manually run `npm run pr-feed` after merging to regenerate feeds
195-
3. Check that the `GH_API_TOKEN` has proper permissions
196-
197-
### Triggered By
198-
Workflow dispatch from RBA release process
199-
200-
---
201-
*This PR was automatically created by the update-pr-feed workflow*
202-
EOF
203-
fi
181+
cat > pr_body.md << "EOFMARKER"
182+
## PR Feed Configuration Update
204183
205-
# Replace placeholder with actual tag
206-
sed -i "s|RBA_TAG_PLACEHOLDER|${RBA_TAG}|g" pr_body.md
184+
This PR updates the PR feed configuration with the latest RBA release tag.
185+
186+
### Changes
187+
- **RBA Tag**: ${RBA_TAG}
188+
- **Updated Field**: lastSelfHostedRelease.lastSaasCut
189+
- **Feed Generation**: **Failed**
190+
191+
### Action Required
192+
The feed generation script failed during this workflow run. Please:
193+
1. Review the workflow logs
194+
2. Manually run npm run pr-feed after merging to regenerate feeds
195+
3. Check that the GH_API_TOKEN has proper permissions
196+
197+
### Triggered By
198+
Workflow dispatch from RBA release process
199+
200+
---
201+
*This PR was automatically created by the update-pr-feed workflow*
202+
EOFMARKER
203+
fi
207204
208205
# Check if PR already exists for this branch
209206
EXISTING_PR=$(gh pr list --head "$BRANCH_NAME" --base 4.0.x --json number --jq '.[0].number' || echo "")

0 commit comments

Comments
 (0)