mirror of https://github.com/opensim/opensim.git
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:
parent
d1466eb88a
commit
f15a0c1f1d
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue