chore(workflows): update action references to use custom GitLab URLs for consistency

This commit is contained in:
2026-01-01 16:33:19 -06:00
parent 4b5e5b6ba0
commit e4ff17fc0c
3 changed files with 59 additions and 62 deletions

View File

@@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: https://git.quad4.io/actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Bearer
uses: bearer/bearer-action@828eeb928ce2f4a7ca5ed57fb8b59508cb8c79bc # v2
uses: https://git.quad4.io/bearer/bearer-action@828eeb928ce2f4a7ca5ed57fb8b59508cb8c79bc # v2
with:
diff: true

View File

@@ -6,16 +6,16 @@ on:
- "*"
workflow_dispatch:
inputs:
build_windows:
description: "Build Windows"
required: false
default: "true"
type: boolean
build_mac:
description: "Build macOS"
required: false
default: "true"
type: boolean
# build_windows:
# description: "Build Windows"
# required: false
# default: "true"
# type: boolean
# build_mac:
# description: "Build macOS"
# required: false
# default: "true"
# type: boolean
build_linux:
description: "Build Linux"
required: false
@@ -37,15 +37,15 @@ jobs:
contents: read
steps:
- name: Clone Repo
uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
uses: https://git.quad4.io/actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
- name: Install NodeJS
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1
uses: https://git.quad4.io/actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1
with:
node-version: 22
- name: Install Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
uses: https://git.quad4.io/actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.12"
@@ -53,7 +53,7 @@ jobs:
run: python scripts/sync_version.py
- name: Install pnpm
uses: pnpm/action-setup@v4
uses: https://git.quad4.io/pnpm/action-setup@v4
with:
version: 9
@@ -64,7 +64,7 @@ jobs:
run: pnpm run build-frontend
- name: Upload frontend artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
uses: https://git.quad4.io/actions/upload-artifact@c24449f33cd45d4826c6702db7e49f7cdb9b551d # v3-node20
with:
name: frontend-build
path: meshchatx/public
@@ -78,24 +78,24 @@ jobs:
fail-fast: false
matrix:
include:
- name: windows
os: windows-latest
node: 22
python: "3.13"
release_artifacts: "dist/*-win-installer.exe,dist/*-win-portable.exe"
build_input: build_windows
dist_script: dist-prebuilt
variant: standard
electron_version: "39.2.4"
- name: mac
os: macos-14
node: 22
python: "3.13"
release_artifacts: "dist/*-mac-*.dmg"
build_input: build_mac
dist_script: dist:mac-universal
variant: standard
electron_version: "39.2.4"
# - name: windows
# os: windows-latest
# node: 22
# python: "3.13"
# release_artifacts: "dist/*-win-installer.exe,dist/*-win-portable.exe"
# build_input: build_windows
# dist_script: dist-prebuilt
# variant: standard
# electron_version: "39.2.4"
# - name: mac
# os: macos-14
# node: 22
# python: "3.13"
# release_artifacts: "dist/*-mac-*.dmg"
# build_input: build_mac
# dist_script: dist:mac-universal
# variant: standard
# electron_version: "39.2.4"
- name: linux
os: ubuntu-latest
node: 22
@@ -105,15 +105,15 @@ jobs:
dist_script: dist-prebuilt
variant: standard
electron_version: "39.2.4"
- name: windows-legacy
os: windows-latest
node: 18
python: "3.11"
release_artifacts: "dist/*-win-installer*.exe,dist/*-win-portable*.exe"
build_input: build_windows
dist_script: dist-prebuilt
variant: legacy
electron_version: "30.0.8"
# - name: windows-legacy
# os: windows-latest
# node: 18
# python: "3.11"
# release_artifacts: "dist/*-win-installer*.exe,dist/*-win-portable*.exe"
# build_input: build_windows
# dist_script: dist-prebuilt
# variant: legacy
# electron_version: "30.0.8"
- name: linux-legacy
os: ubuntu-latest
node: 18
@@ -130,7 +130,7 @@ jobs:
if: |
github.event_name == 'push' ||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
uses: https://git.quad4.io/actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
- name: Set legacy Electron version
if: |
@@ -146,7 +146,7 @@ jobs:
if: |
github.event_name == 'push' ||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1
uses: https://git.quad4.io/actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1
with:
node-version: ${{ matrix.node }}
@@ -154,7 +154,7 @@ jobs:
if: |
github.event_name == 'push' ||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
uses: https://git.quad4.io/actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: ${{ matrix.python }}
@@ -180,7 +180,7 @@ jobs:
if: |
github.event_name == 'push' ||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
uses: pnpm/action-setup@v4
uses: https://git.quad4.io/pnpm/action-setup@v4
with:
version: 9
@@ -200,7 +200,7 @@ jobs:
if: |
github.event_name == 'push' ||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
uses: https://git.quad4.io/actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
name: frontend-build
path: meshchatx/public
@@ -240,13 +240,10 @@ jobs:
if: |
github.event_name == 'push' ||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
uses: actions/upload-artifact@v4
uses: https://git.quad4.io/actions/upload-artifact@c24449f33cd45d4826c6702db7e49f7cdb9b551d # v3-node20
with:
name: build-${{ matrix.name }}
path: |
dist/*-win-installer*.exe
dist/*-win-portable*.exe
dist/*-mac-*.dmg
dist/*-linux*.AppImage
dist/*-linux*.deb
python-dist/*.whl
@@ -261,7 +258,7 @@ jobs:
contents: write
steps:
- name: Download all artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
uses: https://git.quad4.io/actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
path: artifacts
@@ -296,7 +293,7 @@ jobs:
ls -1 *.sha256 2>/dev/null || echo "No .sha256 files found"
- name: Create Release
uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1
uses: https://git.quad4.io/ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1
with:
draft: true
artifacts: "release-assets/*"
@@ -310,26 +307,26 @@ jobs:
contents: read
steps:
- name: Clone Repo
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
uses: https://git.quad4.io/actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
- name: Set lowercase repository owner
run: echo "REPO_OWNER_LC=${GITHUB_REPOSITORY_OWNER,,}" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
uses: https://git.quad4.io/docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
uses: https://git.quad4.io/docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
- name: Log in to the GitHub Container registry
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
uses: https://git.quad4.io/docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
uses: https://git.quad4.io/docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
with:
context: .
platforms: linux/amd64,linux/arm64

View File

@@ -14,9 +14,9 @@ jobs:
steps:
- name: "Checkout repository"
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
uses: https://git.quad4.io/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: "Dependency Review"
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4
uses: https://git.quad4.io/actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4
with:
comment-summary-in-pr: always