fix: update workflow trigger #2

Merged
backmeupplz merged 1 commit from check-pr into main 2025-05-21 18:44:09 +00:00
backmeupplz commented 2025-05-21 18:42:51 +00:00 (Migrated from github.com)

This pull request includes changes to the CI workflow and the hardhat.config.ts file. The most important changes involve updating the GitHub Actions workflow to trigger on pull request events and modifying the environment variable configuration for Ethereum RPC and Etherscan API keys.

CI Workflow Updates:

  • .github/workflows/workflow.yml: Updated the workflow to trigger on pull_request events (types: synchronize, opened) instead of push events to the main branch.

Environment Variable Configuration:

  • hardhat.config.ts: Modified the ETH_RPC environment variable to include a default value of an empty string, aligning it with the configuration style of ETHERSCAN_API_KEY.
This pull request includes changes to the CI workflow and the `hardhat.config.ts` file. The most important changes involve updating the GitHub Actions workflow to trigger on pull request events and modifying the environment variable configuration for Ethereum RPC and Etherscan API keys. ### CI Workflow Updates: * [`.github/workflows/workflow.yml`](diffhunk://#diff-126bf89616b7daa3d14ebc882ad18666aaf1c3dae888c4ba306a66ec80758bc1L3-R4): Updated the workflow to trigger on `pull_request` events (types: `synchronize`, `opened`) instead of `push` events to the `main` branch. ### Environment Variable Configuration: * [`hardhat.config.ts`](diffhunk://#diff-57cf5378f8cab20b02b279097ba6fad08eb53f747d81770045dda9c5f95effe3L19-R19): Modified the `ETH_RPC` environment variable to include a default value of an empty string, aligning it with the configuration style of `ETHERSCAN_API_KEY`.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Borodutch/smart-contract-starter!2
No description provided.