-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add new Safe Wallet reusable workflow #85
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
feat: Add new Safe Wallet reusable workflow #85
Conversation
…ME, workflow, and source code for consistency
…olete workflow file
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 introduces a new reusable GitHub Actions workflow for proposing transactions to Safe (Gnosis Safe) multi-signature wallets. The implementation provides a complete solution for integrating Safe transaction proposals into CI/CD pipelines.
Key changes:
- Adds a complete Safe transaction workflow with Node.js action implementation
- Provides comprehensive documentation and usage examples
- Implements proper security practices for handling private keys
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
safe-transaction/src/index.js |
Core JavaScript implementation handling Safe transaction creation and proposal |
.github/workflows/safe-transaction.yml |
Reusable GitHub Actions workflow definition with inputs/outputs |
safe-transaction/package.json |
NPM package configuration with Safe SDK dependencies |
safe-transaction/README.md |
Comprehensive documentation with usage examples |
safe-transaction/version.txt |
Version tracking file |
safe-transaction/CHANGELOG.md |
Initial changelog entry |
safe-transaction/.gitignore |
Standard gitignore for Node.js projects |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…in transaction creation
…thersAdapter for improved functionality
…in transaction proposal
…sary dependencies and parameters
| # TODO: Only for testing, remove before merging | ||
| ref: feature/add-safe-transaction-reusable-workflow |
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.
Reminder
… for improved compatibility
…rocess with new API and Protocol Kits
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
- Created a new GitHub Actions workflow for proposing transactions to a Gnosis Safe multisig wallet. - Added inputs for RPC URL, Safe address, transaction target, value, and data. - Implemented job steps for checking out the repository, setting up Node.js, installing dependencies, building the action, and proposing the transaction. - Included a README with usage instructions and a changelog. - Added TypeScript configuration and source code for the action. - Created .gitignore to exclude unnecessary files and directories. - Initialized package.json and package-lock.json for dependency management. - Added version tracking with version.txt.
…t variable structure and enhance validation
|
|
||
| core.info("📝 Creating Safe transaction..."); | ||
|
|
||
| // Create the transaction |
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.
what is the difference with the above comment // Create transaction
Those comments seems a little redondant since the actions are clear
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.
fix Commit: cc68147
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.
Thanks, you can remove all redondant comments, unless you don't feel confortable
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
…s://github.com/iExecBlockchainComputing/github-actions-workflows into feature/add-safe-transaction-reusable-workflow
zguesmi
left a comment
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.
Let's use this !
Add Safe Transaction Proposer Reusable Workflow
Summary
Adds a reusable GitHub Actions workflow to create and propose transactions to Safe multi-signature wallets.
Technical Details
.github/workflows/safe-transaction.ymlUsage