Skip to content

ci: Inline Cloudflare Pages project name - #455

Merged
DaveSkender merged 3 commits into
mainfrom
ci/inline-cloudflare-project-name
Jul 27, 2026
Merged

ci: Inline Cloudflare Pages project name#455
DaveSkender merged 3 commits into
mainfrom
ci/inline-cloudflare-project-name

Conversation

@DaveSkender

Copy link
Copy Markdown
Member

Org-wide consistency cleanup: retire vars.CLOUDFLARE_PROJECT_NAME in favour of the literal project name, matching facioquo/schemas deploy.yml (--project-name=schemas).

Why: the variable was defined only at environment scope, so it resolves to an empty string in any job that runs under a different environment — and an empty --project-name fails at deploy time rather than at lint time. Two sibling repos hit exactly this while adding PR preview deployments. The value is a stable, non-secret identifier, so the indirection buys nothing.

No change to what gets deployed or where — the inlined value is the same one the environment variable already supplied.

Follow-up

Once this merges, the now-unused CLOUDFLARE_PROJECT_NAME variable can be deleted from this repo's environment settings. It has no other references in the repo.

Replace vars.CLOUDFLARE_PROJECT_NAME with the literal project name the
workflow already deploys to. The variable was scoped to a single
environment, so it silently resolves to empty in any other environment.
Matches facioquo/schemas deploy.yml.
@facioquoqa

facioquoqa Bot commented Jul 27, 2026

Copy link
Copy Markdown

:neckbeard: FaciōQuōqa Mage automatic code review is disabled in your mage.yml

  • Trigger review

@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: 95ad469a-1142-4c67-850f-eb1baf69cb4c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch ci/inline-cloudflare-project-name

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Select the environment from github.ref rather than the event type, so a
workflow_dispatch off a feature branch resolves to preview instead of
production. Production is only reached from the default branch.
@DaveSkender
DaveSkender merged commit 0efcc87 into main Jul 27, 2026
17 checks passed
@DaveSkender
DaveSkender deleted the ci/inline-cloudflare-project-name branch July 27, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant