Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
Update CI script to be triggered on external PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
thebevrishot committed Dec 22, 2020
1 parent 051c753 commit 6a01894
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/bridge.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: Bridge Workflow
on: push
on: [push, pull_request]

jobs:
bridges-evm-test:
runs-on: ubuntu-latest
env:
working-directory: ./bridges/evm
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'bandprotocol/bandchain'

steps:
- name: Code Checkout
uses: actions/checkout@v2

- name: Setup node 12
uses: actions/setup-node@v1
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/chain.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Chain Workflow
on: push
on: [push, pull_request]

jobs:
chain-test:
runs-on: ubuntu-latest
env:
working-directory: ./chain
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'bandprotocol/bandchain'

steps:
- name: Code checkout
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/go-owasm.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: go-owasm Workflow
on: push
on: [push, pull_request]

jobs:
go-wasm-test:
runs-on: ubuntu-latest
env:
working-directory: ./go-owasm
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'bandprotocol/bandchain'

steps:
- name: Code checkout
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/owasm.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Owasm Workflow
on: push
on: [push, pull_request]

jobs:
wasm-test:
runs-on: ubuntu-latest
env:
working-directory: ./owasm
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'bandprotocol/bandchain'

steps:
- name: Code checkout
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pyband.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: PyBand Workflow
on: push
on: [push, pull_request]

jobs:
pyband-test:
Expand All @@ -9,6 +9,7 @@ jobs:
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'bandprotocol/bandchain'

steps:
- name: Code Checkout
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/scan.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Scan Workflow
on: push
on: [push, pull_request]

jobs:
scan-test:
runs-on: ubuntu-latest
env:
working-directory: ./scan
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'bandprotocol/bandchain'

steps:
- name: Code Checkout
Expand Down

0 comments on commit 6a01894

Please sign in to comment.