feat: add is_registered and get_balance public methods #26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Workflow for External PRs with Unit & Integration Tests | |
| permissions: | |
| contents: write | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize] | |
| branches: | |
| - main | |
| jobs: | |
| Timestamp_PR_CREATED: | |
| uses: storyprotocol/gha-workflows/.github/workflows/reusable-timestamp.yml@main | |
| authorize: | |
| if: github.event.pull_request.head.repo.full_name != github.repository | |
| needs: [Timestamp_PR_CREATED] | |
| environment: "aeneid" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: true | |
| Timestamp_PR_APPROVED: | |
| needs: [authorize] | |
| uses: storyprotocol/gha-workflows/.github/workflows/reusable-timestamp.yml@main | |
| tests: | |
| needs: [authorize, Timestamp_PR_APPROVED] | |
| uses: ./.github/workflows/build-and-test-workflow.yml | |
| with: | |
| sha: ${{ github.event.pull_request.head.sha }} | |
| ENVIRONMENT: "aeneid" | |
| secrets: | |
| WALLET_ADDRESS: ${{ secrets.WALLET_ADDRESS }} | |
| WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }} | |
| RPC_PROVIDER_URL: ${{ secrets.RPC_PROVIDER_URL }} |