workflow: only generate IRC status messages if built in main opensim repository. This keeps forks and copies from generating IRC messages.

This commit is contained in:
Robert Adams 2023-04-24 13:23:58 +00:00
parent d1466eb88a
commit f15a0c1f1d
2 changed files with 8 additions and 8 deletions

View File

@ -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"

View File

@ -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"