Skip to content

Commit 70b5b62

Browse files
author
Vladimir Kotal
committed
restrict checkout of gh-pages to the main repo
1 parent 87a275e commit 70b5b62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/javadoc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3030
restore-keys: ${{ runner.os }}-m2
3131
- name: Checkout gh-pages branch
32+
if: github.repository == 'oracle/opengrok'
3233
uses: actions/checkout@v2
3334
with:
3435
ref: gh-pages

0 commit comments

Comments
 (0)