aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGoooler <wangzongler@gmail.com>2021-10-08 18:39:03 +0800
committerGitHub <noreply@github.com>2021-10-08 13:39:03 +0300
commitbc68cbfb1e2644498559016889b838a7b2836e41 (patch)
tree9004f715c8f2b3ff6ed0da6f874d42feeb3ae04c /.github/workflows
parent120e1fb21076afc814cc84b2b691b6946d28f7c0 (diff)
downloaddokka-bc68cbfb1e2644498559016889b838a7b2836e41.tar.gz
dokka-bc68cbfb1e2644498559016889b838a7b2836e41.tar.bz2
dokka-bc68cbfb1e2644498559016889b838a7b2836e41.zip
Disable publish actions in forked repository (#2160)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/gh-pages-examples.yml1
-rw-r--r--.github/workflows/gh-pages.yml1
-rw-r--r--.github/workflows/s3-snapshots.yml3
3 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/gh-pages-examples.yml b/.github/workflows/gh-pages-examples.yml
index 9e87bb18..e0fbb8be 100644
--- a/.github/workflows/gh-pages-examples.yml
+++ b/.github/workflows/gh-pages-examples.yml
@@ -7,6 +7,7 @@ on:
jobs:
build-examples:
runs-on: ubuntu-latest
+ if: github.repository == 'Kotlin/dokka'
strategy:
matrix:
projects: [
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index b4223d48..a221dcfa 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -7,6 +7,7 @@ on:
jobs:
docs:
+ if: github.repository == 'Kotlin/dokka'
runs-on: ubuntu-latest
steps:
- name: Checkout dokka
diff --git a/.github/workflows/s3-snapshots.yml b/.github/workflows/s3-snapshots.yml
index ed64de7a..be7c3e8c 100644
--- a/.github/workflows/s3-snapshots.yml
+++ b/.github/workflows/s3-snapshots.yml
@@ -9,6 +9,7 @@ env:
jobs:
stdlib:
runs-on: ubuntu-latest
+ if: github.repository == 'Kotlin/dokka'
steps:
- name: Checkout dokka
uses: actions/checkout@v2
@@ -40,6 +41,7 @@ jobs:
serialization:
runs-on: ubuntu-latest
+ if: github.repository == 'Kotlin/dokka'
steps:
- name: Checkout dokka
uses: actions/checkout@v2
@@ -71,6 +73,7 @@ jobs:
biojava:
runs-on: ubuntu-latest
+ if: github.repository == 'Kotlin/dokka'
steps:
- name: Checkout dokka
uses: actions/checkout@v2