Skip to content

Commit

Permalink
Restrict CI and release task to pgjdbc/r2dbc-postgresql repo
Browse files Browse the repository at this point in the history
Prevents jobs from running (and failing) on forks

[#347]
  • Loading branch information
mrotteveel committed Oct 30, 2020
1 parent 34f1c0c commit ff5c93c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Expand Up @@ -9,6 +9,7 @@ on:

jobs:
build:
if: github.repository == 'pgjdbc/r2dbc-postgresql'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Expand Up @@ -9,6 +9,7 @@ on:

jobs:
release:
if: github.repository == 'pgjdbc/r2dbc-postgresql'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit ff5c93c

Please sign in to comment.