Skip to content

chore: move envs variables to gh actions#917

Merged
norswap merged 2 commits intomasterfrom
gabriel/move-envs-to-actions
Jun 14, 2025
Merged

chore: move envs variables to gh actions#917
norswap merged 2 commits intomasterfrom
gabriel/move-envs-to-actions

Conversation

@GabrielMartinezRodriguez
Copy link
Copy Markdown
Contributor

@GabrielMartinezRodriguez GabrielMartinezRodriguez commented Jun 13, 2025

Description

This PR moves the environment variables to the GitHub Action for the following services:

  • Randomness service
  • Randomness monitor
  • Faucet
Toggle Checklist

Checklist

Basics

  • B1. I have applied the proper label & proper branch name (e.g. norswap/build-system-caching).
  • B2. This PR is not so big that it should be split & addresses only one concern.
  • B3. The PR targets the lowest branch it can (ideally master).

Reminder: PR review guidelines

Correctness

  • C1. Builds and passes tests.
  • C2. The code is properly parameterized & compatible with different environments (e.g. local,
    testnet, mainnet, standalone wallet, ...).
  • C3. I have manually tested my changes & connected features.

< INDICATE BROWSER, DEMO APP & OTHER ENV DETAILS USED FOR TESTING HERE >

< INDICATE TESTED SCENARIOS (USER INTERFACE INTERACTION, CODE FLOWS) HERE >

  • C4. I have performed a thorough self-review of my code after submitting the PR,
    and have updated the code & comments accordingly.

Architecture & Documentation

  • D1. I made it easy to reason locally about the code, by (1) using proper abstraction boundaries,
    (2) commenting these boundaries correctly, (3) adding inline comments for context when needed.
  • D2. All public-facing APIs are documented in the docs.
    Public APIS and meaningful (non-local) internal APIs are properly documented in code comments.
  • D3. If appropriate, the general architecture of the code is documented in a code comment or
    in a Markdown document.
  • D4. An appropriate Changeset has been generated (and committed) with make changeset for
    breaking and meaningful changes in packages (not required for cleanups & refactors).

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Jun 13, 2025

Deploying happychain with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4b8a184
Status: ✅  Deploy successful!
Preview URL: https://c07e69e9.happychain.pages.dev
Branch Preview URL: https://gabriel-move-envs-to-actions.happychain.pages.dev

View logs

@GabrielMartinezRodriguez GabrielMartinezRodriguez added the reviewing-1 Ready for, or undergoing first-line review label Jun 13, 2025
@GabrielMartinezRodriguez GabrielMartinezRodriguez marked this pull request as ready for review June 13, 2025 12:54
@norswap norswap added reviewing-2 Ready for, or undergoing final review and removed reviewing-1 Ready for, or undergoing first-line review labels Jun 14, 2025
export MONITORING_DB_PATH=/home/randomness-monitor/monitor.sqlite
export RPC_URL=wss://rpc.testnet.happy.tech/ws
export CHAIN_ID=216
export RANDOM_CONTRACT_ADDRESS=0xd7dafcdC292906540Cc3357E9fD913390256b978
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably import from deployments for this.

Copy link
Copy Markdown
Collaborator

@norswap norswap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Next step is to prune the vars on github.

@norswap norswap merged commit 33ebf88 into master Jun 14, 2025
6 checks passed
@norswap norswap deleted the gabriel/move-envs-to-actions branch June 14, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reviewing-2 Ready for, or undergoing final review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants