Skip to content

Origin/bpolania/workflow 1 #5

Origin/bpolania/workflow 1

Origin/bpolania/workflow 1 #5

Workflow file for this run

name: Conditional Workflow
on:
pull_request:
branches:
- main
- dev
- bpolania/workflow-1
push:
branches:
- dev
- bpolania/workflow-1
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-python-unit-test-workflow.yml@origin/bpolania/python-workflow
with:
sha: ${{ github.event.pull_request.head.sha }}
ENVIRONMENT: "odyssey"
secrets:
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}
RPC_PROVIDER_URL: ${{ secrets.RPC_PROVIDER_URL }}
push_build_and_test:
if: github.event_name == 'push'
uses: storyprotocol/gha-workflows/.github/workflows/reusable-build-python-integration-test-workflow.yml@origin/bpolania/python-workflow
with:
sha: ${{ github.sha }}
ENVIRONMENT: "odyssey"
secrets:
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}
RPC_PROVIDER_URL: ${{ secrets.RPC_PROVIDER_URL }}