-
Notifications
You must be signed in to change notification settings - Fork 0
feat: configuring bridges contracts on CI #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #81 +/- ##
=======================================
Coverage ? 83.78%
=======================================
Files ? 4
Lines ? 111
Branches ? 7
=======================================
Hits ? 93
Misses ? 17
Partials ? 1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a GitHub Actions workflow to configure bridge contracts between supported blockchain networks. The workflow enables manual triggering to set up bidirectional bridges between testnet and mainnet chain pairs.
Key changes:
- Implements input validation to ensure only valid chain pairs can be configured
- Adds automated bridge configuration for both directions (source→target and target→source)
- Includes artifact saving to commit configuration changes back to the repository
| - name: Save bridge configuration artifacts | ||
| uses: stefanzweifel/git-auto-commit-action@v5 | ||
| with: | ||
| commit_message: 'chore: save bridge configuration artifacts for ${{ inputs.source_chain }}↔${{ inputs.target_chain }} (Github run_id: ${{ github.run_id }})' |
Copilot
AI
Jul 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The word 'Github' should be 'GitHub' (with capital H).
| commit_message: 'chore: save bridge configuration artifacts for ${{ inputs.source_chain }}↔${{ inputs.target_chain }} (Github run_id: ${{ github.run_id }})' | |
| commit_message: 'chore: save bridge configuration artifacts for ${{ inputs.source_chain }}↔${{ inputs.target_chain }} (GitHub run_id: ${{ github.run_id }})' |
Co-authored-by: GitHub Actions Bot <github-actions[bot]@users.noreply.github.com>
Adds a dedicated GitHub Actions workflow for configuring LayerZero bridges between deployed contracts on supported chain pairs