Skip to content

Commit

Permalink
Only run workflows on main repo
Browse files Browse the repository at this point in the history
Fixes #1839

Signed-off-by: Ry Jones <[email protected]>
  • Loading branch information
ryjones committed Jun 27, 2022
1 parent dc476c0 commit 73c510d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
CodeQL-Build:
# CodeQL runs on ubuntu-latest and windows-latest
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')

steps:
- name: Checkout repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pip-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ permissions:
jobs:
selftest:
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')
steps:
- uses: actions/checkout@v3
- name: install
Expand Down

0 comments on commit 73c510d

Please sign in to comment.