Skip to content

Commit

Permalink
Merge pull request #2166 from anwalker293/fix/nightly-runs-on-main
Browse files Browse the repository at this point in the history
fix: run only on main, forks ok
  • Loading branch information
WadeBarnes authored Apr 24, 2023
2 parents e07e4fd + b4d90a7 commit 4ac664e
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 4ac664e

Please sign in to comment.