Skip to content

Commit

Permalink
Turn off CI for forks (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano committed May 9, 2023
1 parent 560a7bb commit 1985aee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ concurrency:

jobs:
Checks:
if: github.repository_owner == 'Qiskit'
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -108,6 +109,7 @@ jobs:
if: ${{ !cancelled() }}
shell: bash
Finance:
if: github.repository_owner == 'Qiskit'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -206,6 +208,7 @@ jobs:
name: ${{ matrix.os }}-${{ matrix.python-version }}
path: ./ci-artifact-data/*
Tutorials:
if: github.repository_owner == 'Qiskit'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -284,6 +287,7 @@ jobs:
path: docs/_build/html/artifacts/tutorials.tar.gz
if: ${{ matrix.python-version == 3.8 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}
Deprecation_Messages_and_Coverage:
if: github.repository_owner == 'Qiskit'
needs: [Checks, Finance, Tutorials]
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 1985aee

Please sign in to comment.