Skip to content

Fix preview workflow for closed pull requests - #7

Merged
hyphaltip merged 4 commits into
mainfrom
copilot/fix-building-preview-job
Nov 10, 2026
Merged

hyphaltip merged 4 commits into
mainfrom
copilot/fix-building-preview-job

Conversation

Copilot AI commented Nov 10, 2026 •

Copy link
Copy Markdown

STOP!!!

You are about to open this pull request against THE TEMPLATE ITSELF. You probably meant to open it against your own website repo.


FOR THE TEMPLATE MAINTAINER(S)

The build-preview / build-preview job failed when closing a merged PR because its head branch had been deleted before checkout. The workflow now skips that checkout for closed PRs and continues preview cleanup.

  • Build: Build PR content in a read-only job and upload the generated site.
  • Deploy: Publish the artifact in a separate write-enabled job.

New template version checklist:

  • I have updated CITATION and CHANGELOG as appropriate.
  • I have updated lab-website-template-docs as appropriate.
  • I have checked the testbed as appropriate.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'build-preview' Fix preview workflow for closed pull requests Nov 10, 2026
Copilot AI requested a review from hyphaltip November 10, 2026 18:17
@github-actions

Copy link
Copy Markdown
PR Preview Action v1.4.7
🚀 Deployed preview to https://stajichlab.github.io/preview/pr-7/
on branch gh-pages at 2026-11-10 18:20 UTC

@hyphaltip
hyphaltip marked this pull request as ready for review November 10, 2026 18:21
@hyphaltip
hyphaltip merged commit 4e25e75 into main Nov 10, 2026
4 checks passed
@hyphaltip
hyphaltip deleted the copilot/fix-building-preview-job branch November 10, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants