Skip to content

Add Netlify preview deployments for pull requests#14715

Open
Copilot wants to merge 8 commits intomasterfrom
copilot/analyze-current-workflow-netlify
Open

Add Netlify preview deployments for pull requests#14715
Copilot wants to merge 8 commits intomasterfrom
copilot/analyze-current-workflow-netlify

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 2, 2026

  • Add pull-requests: write permission to netlify-preview job
  • Capture Netlify preview URL — fixed: switched from grep -oP 'Website URL:...' (broken by ANSI colour codes) to netlify deploy --json + jq -r '.deploy_url // .url'
  • "No RST files changed" — show a small italic note instead of the ⚠️ error message
  • Add "Post PR preview comment" step using actions/github-script (find-or-create, paginated file list, collapsible details block with 20-link cap, last-updated timestamp)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 2, 2026

@skjnldsv skjnldsv changed the title Analyzing current workflow and Netlify integration Add Netlify preview deployments for pull requests May 3, 2026
@skjnldsv skjnldsv requested a review from miaulalala May 3, 2026 09:48
@skjnldsv skjnldsv marked this pull request as ready for review May 3, 2026 09:48
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 3, 2026

📖 Documentation Preview

⚠️ Preview deployment failed or was skipped.

No RST documentation files changed.

Last updated: Sun, 03 May 2026 10:16:32 GMT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants