Skip to content

Commit

Permalink
Add missing actions repository checks (#1363)
Browse files Browse the repository at this point in the history
Avoids running the workflow on existing forks.
  • Loading branch information
zachgk authored Nov 11, 2021
1 parent c18da54 commit 2b41ab7
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-analysis-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:

jobs:
analyze:
if: github.repository == 'deepjavalibrary/djl'
name: Analyze
runs-on: ubuntu-latest

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/serving_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:

jobs:
publish:
if: github.repository == 'deepjavalibrary/djl'
runs-on: ubuntu-18.04

steps:
Expand Down

0 comments on commit 2b41ab7

Please sign in to comment.