Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: run only on main, forks ok #2166

Merged
3 changes: 2 additions & 1 deletion .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
tests:
if: github.repository == 'hyperledger/aries-cloudagent-python' || github.event_name == 'workflow_dispatch'
name: Tests
strategy:
fail-fast: false
Expand All @@ -22,6 +23,7 @@ jobs:
os: ${{ matrix.os }}

tests-indy:
if: github.repository == 'hyperledger/aries-cloudagent-python' || github.event_name == 'workflow_dispatch'
name: Tests (Indy)
strategy:
fail-fast: false
Expand All @@ -31,7 +33,6 @@ jobs:
include:
- os: "ubuntu-20.04"
python-version: "3.6"

uses: ./.github/workflows/tests-indy.yml
with:
python-version: ${{ matrix.python-version }}
Expand Down