summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2022-07-25 07:10:03 -0400
committerGitHub <noreply@github.com>2022-07-25 07:10:03 -0400
commit2e14b68bc851c4dd4ebb2b1d1749c49ec5e6e3cf (patch)
treeef042c4da60441161bec7ad1def8c74acac13b04 /.github
parenteb7a11465ce225de0287912f8bccb90a2050ccbc (diff)
Skip repo-specific CI on forks. (#13410)
This will avoid pestering users with failed workflow run messages for workflows that should not even be running in their repos.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/add-to-project.yml1
-rw-r--r--.github/workflows/cloud_regression.yml1
-rw-r--r--.github/workflows/packagecloud.yml2
3 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml
index a7936d2869..eece9dc68d 100644
--- a/.github/workflows/add-to-project.yml
+++ b/.github/workflows/add-to-project.yml
@@ -9,6 +9,7 @@ on:
jobs:
add-to-project:
name: Add issue to project
+ if: github.repository == 'netdata/netdata'
runs-on: ubuntu-latest
steps:
- name: Add issues to Agent project board
diff --git a/.github/workflows/cloud_regression.yml b/.github/workflows/cloud_regression.yml
index 03b12c1575..b6e321fe14 100644
--- a/.github/workflows/cloud_regression.yml
+++ b/.github/workflows/cloud_regression.yml
@@ -13,6 +13,7 @@ on:
jobs:
trigger_cloud_regression_tests:
runs-on: ubuntu-latest
+ if: github.repository == 'netdata/netdata'
steps:
- name: Evaluate workflow dispatch parameters
env:
diff --git a/.github/workflows/packagecloud.yml b/.github/workflows/packagecloud.yml
index d18fa135d2..ba70c177bc 100644
--- a/.github/workflows/packagecloud.yml
+++ b/.github/workflows/packagecloud.yml
@@ -10,7 +10,7 @@ jobs:
cleanup:
name: PackageCloud Cleanup
runs-on: ubuntu-latest
- if: always()
+ if: github.repository == 'netdata/netdata'
strategy:
fail-fast: false
matrix: