diff --git a/.github/workflows/msbuild48.yml b/.github/workflows/msbuild48.yml index f22f421b08..1545fc79b5 100644 --- a/.github/workflows/msbuild48.yml +++ b/.github/workflows/msbuild48.yml @@ -33,8 +33,8 @@ jobs: name: LastAutoBuild files: LastBuild.zip - - name: report push to irc - if: github.event_name == 'push' + - name: report push to irc if from main OpenSim repository + if: github.event_name == 'push' && github.repository_owner == 'opensim' uses: rectalogic/notify-irc@v1 with: channel: "#opensim-dev" @@ -45,8 +45,8 @@ jobs: ${{ join(github.event.commits.*.message, '\n') }} mono framework4.8 compile: ${{ steps.build.conclusion }} - - name: manual report to irc - if: github.event_name == 'workflow_dispatch' + - name: manual report to irc if from main OpenSim repository + if: github.event_name == 'workflow_dispatch' && github.repository_owner == 'opensim' uses: rectalogic/notify-irc@v1 with: channel: "#opensim-dev" diff --git a/.github/workflows/msbuildnet6.yml b/.github/workflows/msbuildnet6.yml index a853c8c44a..2975e2f738 100644 --- a/.github/workflows/msbuildnet6.yml +++ b/.github/workflows/msbuildnet6.yml @@ -39,8 +39,8 @@ jobs: name: LastDotNetAutoBuild files: LastDotNetBuild.zip - - name: report push to irc - if: github.event_name == 'push' + - name: report push to irc if from main OpenSim repository + if: github.event_name == 'push' && github.repository_owner == 'opensim' uses: rectalogic/notify-irc@v1 with: channel: "#opensim-dev" @@ -51,8 +51,8 @@ jobs: ${{ join(github.event.commits.*.message, '\n') }} dotnet compile: ${{ steps.build.conclusion }} - - name: manual report to irc - if: github.event_name == 'workflow_dispatch' + - name: manual report to irc if from main OpenSim repository + if: github.event_name == 'workflow_dispatch' && github.repository_owner == 'opensim' uses: rectalogic/notify-irc@v1 with: channel: "#opensim-dev"