diff --git a/.github/workflows/docker-image-build.yaml b/.github/workflows/docker-image-build.yaml index 63228522..d160cccf 100644 --- a/.github/workflows/docker-image-build.yaml +++ b/.github/workflows/docker-image-build.yaml @@ -22,6 +22,9 @@ jobs: permissions: contents: read packages: write + if: | + github.event_name != 'pull_request' && + github.repository_owner == 'ptarmiganlabs' steps: # - name: Send job status to MQTT (starting job) diff --git a/.github/workflows/virus-scan.yaml b/.github/workflows/virus-scan.yaml index 52ccbbe5..dd1cdd33 100644 --- a/.github/workflows/virus-scan.yaml +++ b/.github/workflows/virus-scan.yaml @@ -7,9 +7,12 @@ on: jobs: virustotal: runs-on: ubuntu-latest + if: | + github.event_name != 'pull_request' && + github.repository_owner == 'ptarmiganlabs' + steps: - - - name: VirusTotal Scan + - name: VirusTotal Scan uses: crazy-max/ghaction-virustotal@v4 with: vt_api_key: ${{ secrets.VIRUSTOTAL_API_KEY }} diff --git a/src/lib/post-to-new-relic.js b/src/lib/post-to-new-relic.js index 11eea040..c9c28022 100755 --- a/src/lib/post-to-new-relic.js +++ b/src/lib/post-to-new-relic.js @@ -452,7 +452,7 @@ async function postProxySessionsToNewRelic(userSessions) { } } - // + // ------------------ // Send data to all New Relic accounts that are enabled for this metric/event // // Get New Relic accounts