Skip to content

SDK Workflows Update #240

SDK Workflows Update

SDK Workflows Update #240

Workflow file for this run

name: Workflow for External PRs with Unit Tests
on:
pull_request_target:
types: [opened, synchronize]
branches:
- dev
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: "external"
runs-on: ubuntu-latest
steps:
- run: true
Timestamp_PR_APPROVED:
needs: [authorize]
uses: storyprotocol/gha-workflows/.github/workflows/reusable-timestamp.yml@main
build_and_test:
needs: [authorize, Timestamp_PR_APPROVED]
uses: storyprotocol/gha-workflows/.github/workflows/reusable-build-unit-test-workflow.yml@main
with:
sha: ${{ github.event.pull_request.head.sha }}
ENVIRONMENT: "beta-sepolia"
secrets:
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}
TEST_WALLET_ADDRESS: ${{ secrets.TEST_WALLET_ADDRESS }}