Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: CodeQL Security Scanning
on:
push:
branches-ignore:
- 'hotfix/**'
- "hotfix/**"
pull_request:
workflow_dispatch:

Expand All @@ -21,25 +21,25 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ['javascript', 'actions']
language: ["javascript", "actions"]

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
config-file: ./.github/codeql/codeql-config.yml

- name: Autobuild
if: matrix.language == 'javascript'
uses: github/codeql-action/autobuild@v4
uses: github/codeql-action/autobuild@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
category: "/language:${{ matrix.language }}"

Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Cron

on:
schedule:
- cron: '*/30 * * * *'
- cron: "*/30 * * * *"
workflow_dispatch:

permissions:
Expand All @@ -20,19 +20,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Setup Python
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.13'
cache: 'pip'
python-version: "3.13"
cache: "pip"

- name: Install Python dependencies
run: python3 -m pip install -r requirements.txt

- name: Execute keep-alive query
uses: './.github/actions/keep-alive'
uses: "./.github/actions/keep-alive"
with:
service: turso
url: ${{ secrets.ASTRO_DB_REMOTE_URL }}
Expand All @@ -45,19 +45,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Setup Python
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.13'
cache: 'pip'
python-version: "3.13"
cache: "pip"

- name: Install Python dependencies
run: python3 -m pip install -r requirements.txt

- name: Execute keep-alive query
uses: './.github/actions/keep-alive'
uses: "./.github/actions/keep-alive"
with:
service: turso
url: ${{ secrets.ASTRO_DB_REMOTE_URL }}
Expand All @@ -70,19 +70,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Setup Python
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.13'
cache: 'pip'
python-version: "3.13"
cache: "pip"

- name: Install Python dependencies
run: python3 -m pip install -r requirements.txt

- name: Execute keep-alive read
uses: './.github/actions/keep-alive'
uses: "./.github/actions/keep-alive"
with:
service: upstash
url: ${{ vars.PUBLIC_UPSTASH_SEARCH_REST_URL }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
if: ${{ !startsWith(github.head_ref || github.ref_name, 'hotfix/') }}
steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Dependency Review
uses: actions/dependency-review-action@v5.0.0
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
with:
fail-on-severity: critical
comment-summary-in-pr: always
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deployment-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Setup Node
uses: actions/setup-node@v6.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .nvmrc
cache: npm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deployment-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Setup Node
uses: actions/setup-node@v6.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .nvmrc
cache: npm
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Setup Python
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.13"
cache: "pip"
Expand All @@ -48,7 +48,7 @@ jobs:
run: python3 -m pip install -r requirements.txt

- name: Setup Node.js
uses: actions/setup-node@v6.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24.x"
cache: "npm"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/migrations-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout repository (trusted base)
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: main

Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

- name: Setup Node.js
if: steps.gate.outputs.should_migrate == 'true'
uses: actions/setup-node@v6.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24.x"
cache: "npm"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/migrations-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout repository (trusted base)
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: main

Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:

- name: Setup Node.js
if: steps.gate.outputs.should_migrate == 'true'
uses: actions/setup-node@v6.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24.x"
cache: "npm"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Setup Node.js
uses: actions/setup-node@v6.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24.x"
cache: "npm"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Setup Python
uses: actions/setup-python@v6.2.0
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.13'
python-version: "3.13"

- name: Install Python dependencies
run: python3 -m pip install -r requirements.txt
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Setup Node.js
uses: actions/setup-node@v6.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24.x"
cache: "npm"
Expand All @@ -68,8 +68,7 @@ jobs:
- name: Report Coverage
if: steps.vitest.outcome == 'success' &&
hashFiles('coverage/coverage-summary.json') != ''
# v2.9.0
uses: davelosert/vitest-coverage-report-action@02f3c2e641286b7fa308cd3e430783103ce6103b
uses: davelosert/vitest-coverage-report-action@02f3c2e641286b7fa308cd3e430783103ce6103b # v2.12.0
with:
json-summary-path: "./coverage/coverage-summary.json"
json-final-path: "./coverage/coverage-final.json"
Expand All @@ -91,5 +90,6 @@ jobs:

steps:
- name: Skip testing for hotfix branch
run: echo "hotfix/* branch detected; skipping lint, unit, and e2e workflows but
run:
echo "hotfix/* branch detected; skipping lint, unit, and e2e workflows but
allowing deployments."
Loading
Loading