Skip to content

Update pr-internal.yml #468

Update pr-internal.yml

Update pr-internal.yml #468

Workflow file for this run

name: Conditional Workflow
on:
pull_request:
branches:
- origin/dev-bpolania/workflows
push:
branches:
- origin/dev-bpolania/workflows
jobs:
Timestamp:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
uses: storyprotocol/gha-workflows/.github/workflows/reusable-timestamp.yml@main
pr_build_and_test:
if: github.event_name == 'pull_request'
needs: [Timestamp]
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 }}
push_build_and_test:
if: github.event_name == 'push'
uses: storyprotocol/gha-workflows/.github/workflows/reusable-build-integration-test-workflow.yml@main
with:
sha: ${{ github.sha }}
ENVIRONMENT: "beta-sepolia"
secrets:
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}
TEST_WALLET_ADDRESS: ${{ secrets.TEST_WALLET_ADDRESS }}