• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

HSF / phoenix / 33948760103
55%
master: 38%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 05 Sep 2026 06:06AM UTC
Jobs 1
Files 58
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Sep 2026 06:02AM UTC coverage: 46.306%. Remained the same
33948760103

push

github

web-flow
fix(ci): deploy PR previews for pull requests from forks (#995)

Preview deployments never ran for pull requests opened from a fork, which
is most external contributions. The Deploy step was skipped rather than
failing, so CI stayed green while quietly deploying nothing.

There were two causes. `jwalton/gh-find-current-pr` looks up the PR by
asking this repository which pull requests are associated with the head
commit, but a fork's commit does not exist here, so it returned nothing
and the step's condition was never met. Even with that fixed the step
could not have worked: GitHub withholds secrets from workflows triggered
by a fork, so the surge credentials would have been empty.

Split the work in two so the credentials are never exposed to unreviewed
code. `phoenix-ci` now only builds the app and uploads it as an artifact,
and a new `deploy-preview` workflow runs on `workflow_run` in this
repository's trusted context to deploy it. It consumes only the built
output and never checks out or executes the pull request's code.

The PR number has to travel through the artifact, as `workflow_run` does
not carry it for forks. Since that value comes from an untrusted build it
is stripped to digits, and the named PR must have the same head commit as
the build being deployed - otherwise a pull request could overwrite
another one's preview or comment on it.

Pushes to main still deploy directly, as they are trusted and have access
to the secrets. `gh-find-current-pr` is no longer needed, as the PR number
is available directly on the pull_request event.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

824 of 2087 branches covered (39.48%)

Branch coverage included in aggregate %.

3112 of 6413 relevant lines covered (48.53%)

204.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33948760103.1 05 Sep 2026 06:06AM UTC 58
46.31
GitHub Action Run
Source Files on build 33948760103
  • Tree
  • List 58
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33948760103
  • 4aca1401 on github
  • Prev Build on main (#33948550759)
  • Next Build on main (#33956263188)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc