diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2022-12-13 11:48:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-13 11:48:00 -0500 |
commit | 143bf4709aee6a00078d4db864bf8d4d9239736e (patch) | |
tree | 4a91d29b2bbbac91c5806ddf124dcf11bae8b22d /.github | |
parent | f697d8381f1498d01d008e00d4739296e517030f (diff) |
Fix conditions for uploading repoconfig packages to new infra. (#14134)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/repoconfig-packages.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/repoconfig-packages.yml b/.github/workflows/repoconfig-packages.yml index 0021f62bd8..80e32d7229 100644 --- a/.github/workflows/repoconfig-packages.yml +++ b/.github/workflows/repoconfig-packages.yml @@ -96,7 +96,7 @@ jobs: /netdata/packaging/repoconfig/build-${{ matrix.format }}.sh - name: SSH setup id: ssh-setup - if: github.event_name == 'workflow_dispatch' + if: github.event_name != 'pull_request' && github.repository == 'netdata/netdata' continue-on-error: true uses: shimataro/ssh-key-action@v2 with: @@ -106,7 +106,7 @@ jobs: - name: Upload to packages.netdata.cloud id: package-upload continue-on-error: true - if: github.event_name == 'workflow_dispatch' + if: github.event_name != 'pull_request' && github.repository == 'netdata/netdata' run: | .github/scripts/package-upload.sh \ ${{ matrix.repo_distro }} \ |