@cryptotaxi247 / kubo / commits / 479877737

ci: disable workflows in forks

galargh committed May 6, 2022 at 15:28 UTC 4798777377454245865b3a6a7eab128c6c811bfc
4 files changed +9 -1
.github/workflows/codeql-analysis.yml
+2
@@ -2,6 +2,7 @@
2 name: "CodeQL"
3
4 on:
5 + workflow_dispatch:
6 push:
7 branches: [ master ]
8 pull_request:
@@ -12,6 +13,7 @@ on:
13
14 jobs:
15 analyze:
16 + if: github.repository == 'ipfs/go-ipfs' || github.event_name == 'workflow_dispatch'
17 name: Analyze
18 runs-on: ubuntu-latest
19
.github/workflows/docker-image.yml
+1
@@ -11,6 +11,7 @@ on:
11
12 jobs:
13 push_to_registry:
14 + if: github.repository == 'ipfs/go-ipfs' || github.event_name == 'workflow_dispatch'
15 name: Push Docker image to Docker Hub
16 runs-on: ubuntu-latest
17 env:
.github/workflows/sync-release-assets.yml
+1
@@ -11,6 +11,7 @@ concurrency:
11
12 jobs:
13 sync-github-and-dist-ipfs-io:
14 + if: github.repository == 'ipfs/go-ipfs' || github.event_name == 'workflow_dispatch'
15 runs-on: "ubuntu-latest"
16 steps:
17 - uses: ipfs/download-ipfs-distribution-action@v1
.github/workflows/testground-on-push.yml
+5 -1
@@ -1,10 +1,14 @@
1 ---
2 name: Testground PR Checker
3
4 -on: [push]
4 +on:
5 + workflow_dispatch:
6 + push:
7 +
8
9 jobs:
10 testground:
11 + if: github.repository == 'ipfs/go-ipfs' || github.event_name == 'workflow_dispatch'
12 runs-on: ubuntu-latest
13 name: ${{ matrix.composition_file }}
14 strategy: