Skip to content

Commit ed4baf1

Browse files
authored
Merge pull request #3839 from rommapp/fix/netplay-malformed-polling-url
fix(netplay): correct room-list and socket URLs behind a reverse proxy
2 parents 5074ff3 + de63580 commit ed4baf1

31 files changed

Lines changed: 110 additions & 149 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,30 +42,30 @@ jobs:
4242
run: echo "Triggered by ${{ github.event_name }}"
4343

4444
- name: Checkout code
45-
uses: actions/checkout@v4.3.0
45+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
4646

4747
- name: Set up QEMU
48-
uses: docker/setup-qemu-action@v3.6.0
48+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
4949

5050
- name: Set up Docker Buildx
51-
uses: docker/setup-buildx-action@v3.11.1
51+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
5252

5353
- name: Login to Docker Hub
54-
uses: docker/login-action@v3.5.0
54+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
5555
with:
5656
username: ${{ secrets.DOCKER_USERNAME }}
5757
password: ${{ secrets.DOCKER_PASSWORD }}
5858

5959
- name: Login to GitHub Container Registry
60-
uses: docker/login-action@v3.5.0
60+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
6161
with:
6262
registry: ghcr.io
6363
username: ${{ github.actor }}
6464
password: ${{ secrets.GITHUB_TOKEN }}
6565

6666
- name: Generate Docker metadata (slim)
6767
id: meta-slim
68-
uses: docker/metadata-action@v5.8.0
68+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
6969
with:
7070
images: |
7171
name=rommapp/romm
@@ -85,7 +85,7 @@ jobs:
8585
8686
- name: Generate Docker metadata (full)
8787
id: meta
88-
uses: docker/metadata-action@v5.8.0
88+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
8989
with:
9090
images: |
9191
name=rommapp/romm
@@ -106,7 +106,7 @@ jobs:
106106
107107
- name: Build slim image
108108
id: build-slim
109-
uses: docker/build-push-action@v6.18.0
109+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
110110
with:
111111
file: docker/Dockerfile
112112
context: .
@@ -121,7 +121,7 @@ jobs:
121121
122122
- name: Build full image
123123
id: build-full
124-
uses: docker/build-push-action@v6.18.0
124+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
125125
with:
126126
file: docker/Dockerfile
127127
context: .

.github/workflows/copilot-setup-steps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
options: --health-cmd="redis-cli ping" --health-interval=5s --health-timeout=2s --health-retries=3
2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v4.3.0
27+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2828

2929
- name: Install uv
30-
uses: astral-sh/setup-uv@v6.7.0
30+
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7.0
3131

3232
- name: Install Python
3333
run: uv python install 3.13
@@ -39,7 +39,7 @@ jobs:
3939
run: uv sync --all-extras --dev
4040

4141
- name: Set up Node.js
42-
uses: actions/setup-node@v5.0.0
42+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
4343
with:
4444
node-version-file: frontend/.nvmrc
4545

.github/workflows/frontend-v1-frozen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v4.3.0
26+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2727
with:
2828
fetch-depth: 0
2929

.github/workflows/frontend.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4.3.0
20+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2121

2222
- name: Set up Node.js
23-
uses: actions/setup-node@v5.0.0
23+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2424
with:
2525
node-version-file: frontend/.nvmrc
2626
cache: "npm"
@@ -38,10 +38,10 @@ jobs:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v4.3.0
41+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
4242

4343
- name: Set up Node.js
44-
uses: actions/setup-node@v5.0.0
44+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
4545
with:
4646
node-version-file: frontend/.nvmrc
4747
cache: "npm"

.github/workflows/i18n.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v4.3.0
16+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1717

1818
- name: Set up Python 3.13
19-
uses: actions/setup-python@v6.0.0
19+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2020
with:
2121
python-version: "3.13"
2222

.github/workflows/migrations.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
--health-retries 5
3030
steps:
3131
- name: Checkout code
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
3333

3434
- name: Install mariadb connectors
3535
run: |
3636
sudo apt-get update
3737
sudo apt-get install -y libmariadb3 libmariadb-dev
3838
3939
- name: Install uv
40-
uses: astral-sh/setup-uv@v6.7.0
40+
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7.0
4141

4242
- name: Install python
4343
run: uv python install 3.13
@@ -80,15 +80,15 @@ jobs:
8080
--health-retries 5
8181
steps:
8282
- name: Checkout repository
83-
uses: actions/checkout@v4.3.0
83+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
8484

8585
- name: Install mariadb connectors
8686
run: |
8787
sudo apt-get update
8888
sudo apt-get install -y libmariadb3 libmariadb-dev
8989
9090
- name: Install uv
91-
uses: astral-sh/setup-uv@v6.7.0
91+
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7.0
9292

9393
- name: Install python
9494
run: uv python install 3.13

.github/workflows/pytest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ jobs:
5050
--health-cmd="redis-cli ping" --health-interval=5s --health-timeout=2s --health-retries=3
5151
steps:
5252
- name: Checkout repository
53-
uses: actions/checkout@v4.3.0
53+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
5454

5555
- name: Install mariadb connectors
5656
run: |
5757
sudo apt-get update
5858
sudo apt-get install -y libmariadb3 libmariadb-dev
5959
6060
- name: Install uv
61-
uses: astral-sh/setup-uv@v6.7.0
61+
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.7.0
6262

6363
- name: Install python
6464
run: |

.github/workflows/test-build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ jobs:
4747
run: echo "Triggered by ${{ github.event_name }}"
4848

4949
- name: Checkout code
50-
uses: actions/checkout@v4.3.0
50+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
5151
with:
5252
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.head_ref }}
5353
fetch-depth: 0
5454

5555
- name: PR comment build starting
5656
if: github.event_name == 'pull_request'
5757
id: build-comment
58-
uses: actions/github-script@v7
58+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
5959
with:
6060
script: |
6161
const comment = await github.rest.issues.createComment({
@@ -67,29 +67,29 @@ jobs:
6767
core.setOutput('comment-id', comment.data.id);
6868
6969
- name: Set up QEMU
70-
uses: docker/setup-qemu-action@v3.6.0
70+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
7171

7272
- name: Set up Docker Buildx
73-
uses: docker/setup-buildx-action@v3.11.1
73+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
7474

7575
- name: Login to GHCR
7676
if: env.USE_GHCR == 'true'
77-
uses: docker/login-action@v3.5.0
77+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
7878
with:
7979
registry: ghcr.io
8080
username: ${{ github.repository_owner }}
8181
password: ${{ secrets.GITHUB_TOKEN }}
8282

8383
- name: Login to Docker Hub
8484
if: env.USE_DOCKERHUB == 'true'
85-
uses: docker/login-action@v3.5.0
85+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
8686
with:
8787
username: ${{ secrets.DOCKER_USERNAME }}
8888
password: ${{ secrets.DOCKER_PASSWORD }}
8989

9090
- name: Generate Docker metadata
9191
id: meta
92-
uses: docker/metadata-action@v5.8.0
92+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
9393
with:
9494
images: |
9595
${{ env.USE_GHCR == 'true' && format('name=ghcr.io/{0}/romm-testing', github.repository_owner) || '' }}
@@ -99,7 +99,7 @@ jobs:
9999
100100
- name: Build full image
101101
id: build-full
102-
uses: docker/build-push-action@v6.18.0
102+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
103103
with:
104104
file: docker/Dockerfile
105105
context: .
@@ -114,7 +114,7 @@ jobs:
114114
# PR builds always push to GHCR only, so the image link is hardcoded to GHCR.
115115
- name: Comment PR with GHCR image link
116116
if: github.event_name == 'pull_request'
117-
uses: actions/github-script@v7
117+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
118118
env:
119119
HEAD_REF: ${{ github.head_ref }}
120120
with:

.github/workflows/trunk-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
contents: read # For repo checkout
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4.3.0
20+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2121
- name: Trunk Check
22-
uses: trunk-io/trunk-action@v1.2.4
22+
uses: trunk-io/trunk-action@75699af9e26881e564e9d832ef7dc3af25ec031b # v1.2.4

.github/workflows/typecheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
pull-requests: write
2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v4.3.0
23+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2424

2525
- name: Set up Node.js
26-
uses: actions/setup-node@v5.0.0
26+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2727
with:
2828
node-version-file: frontend/.nvmrc
2929
cache: "npm"

0 commit comments

Comments
 (0)