mirror of
https://github.com/opensim/opensim.git
synced 2026-05-13 01:46:07 +08:00
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:
8
.github/workflows/msbuild48.yml
vendored
8
.github/workflows/msbuild48.yml
vendored
@@ -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"
|
||||
|
||||
8
.github/workflows/msbuildnet6.yml
vendored
8
.github/workflows/msbuildnet6.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user