Skip to content

Commit 2299688

Browse files
committed
chore: add fork message
1 parent e0ddbd4 commit 2299688

File tree

8 files changed

+11158
-9396
lines changed

8 files changed

+11158
-9396
lines changed

.github/workflows/build-linux.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
# tags:
77
# - v*
88

9+
permissions:
10+
contents: write
11+
912
env:
1013
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
1114

@@ -65,6 +68,11 @@ jobs:
6568
gxx: arm-linux-gnueabihf-g++
6669

6770
steps:
71+
- name: Fail if branch is not master
72+
if: github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/master'
73+
run: |
74+
echo "This workflow should not be triggered with workflow_dispatch on a branch other than master"
75+
exit 1
6876
- uses: actions/checkout@v4
6977
- name: Use Node.js ${{ matrix.node-version }}
7078
uses: actions/setup-node@v4

.github/workflows/build-mac-m1.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
# tags:
77
# - v*
88

9+
permissions:
10+
contents: write
911

1012
env:
1113
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
@@ -18,6 +20,11 @@ jobs:
1820
node-version: [18]
1921

2022
steps:
23+
- name: Fail if branch is not master
24+
if: github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/master'
25+
run: |
26+
echo "This workflow should not be triggered with workflow_dispatch on a branch other than master"
27+
exit 1
2128
- uses: actions/checkout@v4
2229
- name: Install OpenSSL
2330
run: |

.github/workflows/build-mac-x64.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
# tags:
77
# - v*
88

9+
permissions:
10+
contents: write
11+
912
env:
1013
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
1114

@@ -17,6 +20,11 @@ jobs:
1720
node-version: [18]
1821

1922
steps:
23+
- name: Fail if branch is not master
24+
if: github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/master'
25+
run: |
26+
echo "This workflow should not be triggered with workflow_dispatch on a branch other than master"
27+
exit 1
2028
- uses: actions/checkout@v4
2129
- name: Install OpenSSL
2230
run: HOMEBREW_NO_INSTALL_CLEANUP=1 brew reinstall openssl@3

.github/workflows/build-win.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
# tags:
77
# - v*
88

9+
permissions:
10+
contents: write
11+
912
env:
1013
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
1114

@@ -45,6 +48,11 @@ jobs:
4548
node_arch:
4649
- x86
4750
steps:
51+
- name: Fail if branch is not master
52+
if: github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/master'
53+
run: |
54+
echo "This workflow should not be triggered with workflow_dispatch on a branch other than master"
55+
exit 1
4856
- uses: actions/checkout@v4
4957
- uses: ilammy/msvc-dev-cmd@v1
5058
with:

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ include(FetchContent)
3333
# Fetch libdatachannel
3434
FetchContent_Declare(
3535
libdatachannel
36-
GIT_REPOSITORY https://github.com/paullouisageneau/libdatachannel.git
37-
GIT_TAG "v0.22.2"
36+
GIT_REPOSITORY https://github.com/achingbrain/libdatachannel.git
37+
GIT_TAG 6673ce95223179f49db4a7f7e23852363501983e # feat/libjuice-with-mux-callbacks
3838
)
3939

4040
option(NO_MEDIA "Disable media transport support in libdatachannel" OFF)

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
> This is a fork of `node-datachannel` with the changes from [#256](https://github.com/murat-dogan/node-datachannel/pull/256) applied
2+
13
# WebRTC For Node.js and Electron ( with WebSocket)
24

35
![Linux CI Build](https://github.com/murat-dogan/node-datachannel/workflows/Build%20-%20Linux/badge.svg) ![Windows CI Build](https://github.com/murat-dogan/node-datachannel/workflows/Build%20-%20Win/badge.svg) ![Mac x64 CI Build](https://github.com/murat-dogan/node-datachannel/workflows/Build%20-%20Mac%20x64/badge.svg) ![Mac M1 CI Build](https://github.com/murat-dogan/node-datachannel/workflows/Build%20-%20Mac%20M1/badge.svg)

0 commit comments

Comments
 (0)