Skip to content

Commit ff5c93c

Browse files
authored
Restrict CI and release task to pgjdbc/r2dbc-postgresql repo
Prevents jobs from running (and failing) on forks [#347]
1 parent 34f1c0c commit ff5c93c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
jobs:
1111
build:
12+
if: github.repository == 'pgjdbc/r2dbc-postgresql'
1213
runs-on: ubuntu-latest
1314
steps:
1415
- uses: actions/checkout@v2

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
jobs:
1111
release:
12+
if: github.repository == 'pgjdbc/r2dbc-postgresql'
1213
runs-on: ubuntu-latest
1314
steps:
1415
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)