Skip to content
Open
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
4 changes: 4 additions & 0 deletions .github/workflows/check-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
check:
runs-on: ubuntu-latest
Expand All @@ -17,6 +20,7 @@ jobs:
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 1
persist-credentials: false

- name: Install Pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: write
contents: read
issues: write
pull-requests: write
steps:
Expand All @@ -21,11 +21,10 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false

- name: Setup Pnpm
run: |
npm install -g corepack@latest --force
corepack enable
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4

- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/integration-test-Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
integration-test-linux:
Expand All @@ -26,6 +29,7 @@ jobs:
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 1
persist-credentials: false

- name: Install Pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
Expand All @@ -35,7 +39,9 @@ jobs:
id: skip-ci

- name: Log skip CI result
run: echo "${{steps.skip-ci.outputs.RESULT}}"
env:
SKIP_CI_RESULT: ${{ steps.skip-ci.outputs.RESULT }}
run: echo "$SKIP_CI_RESULT"

- name: Setup Node.js 22.x
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/integration-test-Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
integration-test-windows:
Expand All @@ -31,17 +34,20 @@ jobs:
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 1
persist-credentials: false

- name: Install Pnpm
run: npm i -g --force corepack && corepack enable
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4

- name: Check skip CI
shell: bash
run: echo "RESULT=$(node ./scripts/skipCI.js)" >> "$GITHUB_OUTPUT"
id: skip-ci

- name: Log skip CI result
run: echo "${{steps.skip-ci.outputs.RESULT}}"
env:
SKIP_CI_RESULT: ${{ steps.skip-ci.outputs.RESULT }}
run: echo "$env:SKIP_CI_RESULT"

- name: Setup Node.js 22.x
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/issue-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
issues:
types: [opened]

permissions: {}

jobs:
label:
runs-on: ubuntu-latest
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/lint-Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
lint-linux:
Expand All @@ -27,10 +30,11 @@ jobs:
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
# This makes Actions fetch only one branch to release
fetch-depth: 1
fetch-depth: 1
persist-credentials: false

- name: Install Pnpm
run: npm i -g --force corepack && corepack enable
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4

- name: Setup Node.js 22
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test-builder-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:

workflow_dispatch:

permissions:
contents: read

jobs:
e2e-test:
runs-on: ubuntu-latest
Expand All @@ -17,6 +20,7 @@ jobs:
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 1
persist-credentials: false

- name: Nx Cache
id: nx-cache
Expand All @@ -29,7 +33,7 @@ jobs:
nx-

- name: Install Pnpm
run: npm i -g --force corepack && corepack enable
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4

- name: Setup Node.js 22
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:

workflow_dispatch:

permissions:
contents: read

jobs:
type-check:
runs-on: ${{ fromJSON(vars.SELF_LINUX_LABELS || '"ubuntu-latest"') }}
Expand All @@ -22,6 +25,7 @@ jobs:
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 1
persist-credentials: false

- name: Install Pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
Expand All @@ -37,7 +41,9 @@ jobs:
id: skip-ci

- name: Log skip CI result
run: echo "${{steps.skip-ci.outputs.RESULT}}"
env:
SKIP_CI_RESULT: ${{ steps.skip-ci.outputs.RESULT }}
run: echo "$SKIP_CI_RESULT"

- name: Nx Cache
id: nx-cache
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/ut-Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
ut-windows:
Expand All @@ -27,17 +30,20 @@ jobs:
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 1
persist-credentials: false

- name: Install Pnpm
run: npm i -g --force corepack && corepack enable
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4

- name: Check skip CI
shell: bash
run: echo "RESULT=$(node ./scripts/skipCI.js)" >> "$GITHUB_OUTPUT"
id: skip-ci

- name: Log skip CI result
run: echo "${{steps.skip-ci.outputs.RESULT}}"
env:
SKIP_CI_RESULT: ${{ steps.skip-ci.outputs.RESULT }}
run: echo "$env:SKIP_CI_RESULT"

- name: Setup Node.js 22
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/ut-macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
ut-mac:
Expand All @@ -27,16 +30,19 @@ jobs:
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
fetch-depth: 1
persist-credentials: false

- name: Install Pnpm
run: npm i -g --force corepack && corepack enable
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4

- name: Check skip CI
run: echo "RESULT=$(node ./scripts/skipCI.js)" >> "$GITHUB_OUTPUT"
id: skip-ci

- name: Log skip CI result
run: echo "${{steps.skip-ci.outputs.RESULT}}"
env:
SKIP_CI_RESULT: ${{ steps.skip-ci.outputs.RESULT }}
run: echo "$SKIP_CI_RESULT"

- name: Setup Node.js 22
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
Expand Down