Skip to content

Commit 2c21846

Browse files
committed
Merge branch 'main' into cs-7952-command-button-state-to-indicate-when-command-is-being-ii
2 parents 06d0911 + 8e1fed4 commit 2c21846

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1483
-837
lines changed

.github/.yamllint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
extends: default
22

33
rules:
4+
comments:
5+
min-spaces-from-content: 1
46
line-length: disable
57
document-start: disable
68
quoted-strings:

.github/actions/init/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Setup common dependencies
44
runs:
55
using: composite
66
steps:
7-
- uses: actions/setup-node@v4
7+
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # 4.3.0
88
with:
99
node-version-file: "package.json"
1010

@@ -16,7 +16,7 @@ runs:
1616
run: |
1717
echo "STORE_PATH=$(pnpm store path -s)" >> $GITHUB_OUTPUT
1818
19-
- uses: actions/cache@v4
19+
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # 4.2.2
2020
name: Setup pnpm cache
2121
id: cache
2222
with:

.github/workflows/build-host.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
group: build-host-${{ inputs.environment }}-${{ github.head_ref || github.run_id }}
1616
cancel-in-progress: true
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
1919

2020
- name: Init
2121
uses: ./.github/actions/init
@@ -52,7 +52,7 @@ jobs:
5252
run: pnpm deploy:boxel-host build-only --verbose
5353

5454
- name: Save dist
55-
uses: actions/upload-artifact@v4
55+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
5656
with:
5757
name: host-dist
5858
path: packages/host/tmp/deploy-dist

.github/workflows/ci-host.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
group: boxel-host-test${{ github.head_ref || github.run_id }}-shard${{ matrix.shardIndex }}
2626
cancel-in-progress: true
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2929
- uses: ./.github/actions/init
3030
- name: Build boxel-icons
3131
run: pnpm build
@@ -64,21 +64,21 @@ jobs:
6464
HOST_TEST_PARTITION_COUNT: ${{ matrix.shardTotal }}
6565
working-directory: packages/host
6666
- name: Upload junit report to GitHub Actions Artifacts
67-
uses: actions/upload-artifact@v4
67+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
6868
if: always()
6969
with:
7070
name: host-test-report-${{ matrix.shardIndex }}
7171
path: junit/host-${{ matrix.shardIndex }}.xml
7272
retention-days: 30
7373
- name: Upload realm server log
74-
uses: actions/upload-artifact@v4
74+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
7575
if: always()
7676
with:
7777
name: realm-server-log-${{ matrix.shardIndex }}
7878
path: /tmp/server.log
7979
retention-days: 30
8080
- name: Upload icon server log
81-
uses: actions/upload-artifact@v4
81+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
8282
if: always()
8383
with:
8484
name: icon-server-log-${{ matrix.shardIndex }}
@@ -92,7 +92,7 @@ jobs:
9292
runs-on: ubuntu-latest
9393

9494
steps:
95-
- uses: actions/checkout@v4
95+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
9696
- uses: ./.github/actions/init
9797

9898
- name: Finalise Percy
@@ -103,7 +103,7 @@ jobs:
103103
PERCY_PARALLEL_NONCE: ${{ github.run_id }}-${{ github.run_attempt }}
104104

105105
- name: Download JUnit reports from GitHub Actions Artifacts
106-
uses: actions/download-artifact@v4
106+
uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0
107107
with:
108108
path: all-host-reports
109109
pattern: host-test-report-*
@@ -116,15 +116,15 @@ jobs:
116116
run: npx junit-report-merger host.xml "./all-host-reports/*.xml"
117117

118118
- name: Upload merged report
119-
uses: actions/upload-artifact@v4
119+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
120120
if: always()
121121
with:
122122
name: host-test-report-merged
123123
path: host.xml
124124
retention-days: 30
125125

126126
- name: Publish test results
127-
uses: EnricoMi/publish-unit-test-result-action@v2.9.0
127+
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # 2.18.0
128128
if: always()
129129
with:
130130
junit_files: host.xml

.github/workflows/ci-lint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
group: lint-${{ github.head_ref || github.run_id }}
2020
cancel-in-progress: true
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2323
- uses: ./.github/actions/init
2424
- name: Lint AI Bot
2525
if: always()

.github/workflows/ci.yaml

+19-19
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
group: ai-bot-test-${{ github.head_ref || github.run_id }}
2121
cancel-in-progress: true
2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2424
- uses: ./.github/actions/init
2525
- name: AI Bot test suite
2626
run: pnpm test
@@ -33,7 +33,7 @@ jobs:
3333
group: boxel-motion-test-${{ github.head_ref || github.run_id }}
3434
cancel-in-progress: true
3535
steps:
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
3737
- uses: ./.github/actions/init
3838
- name: Build boxel-motion
3939
run: pnpm build
@@ -49,7 +49,7 @@ jobs:
4949
group: boxel-ui-test-${{ github.head_ref || github.run_id }}
5050
cancel-in-progress: true
5151
steps:
52-
- uses: actions/checkout@v4
52+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
5353
- uses: ./.github/actions/init
5454
- name: Build boxel-icons
5555
run: pnpm build
@@ -68,7 +68,7 @@ jobs:
6868
group: boxel-ui-raw-icon-changes-only-${{ github.head_ref || github.run_id }}
6969
cancel-in-progress: true
7070
steps:
71-
- uses: actions/checkout@v4
71+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
7272
- uses: ./.github/actions/init
7373
- name: Rebuild boxel-ui icons
7474
run: pnpm rebuild:icons
@@ -83,7 +83,7 @@ jobs:
8383
group: boxel-icons-raw-icon-changes-only-${{ github.head_ref || github.run_id }}
8484
cancel-in-progress: true
8585
steps:
86-
- uses: actions/checkout@v4
86+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
8787
- uses: ./.github/actions/init
8888
- name: Rebuild boxel-icons icons
8989
run: pnpm rebuild:all
@@ -103,7 +103,7 @@ jobs:
103103
group: matrix-client-test-${{ matrix.shardIndex }}-${{ github.head_ref || github.run_id }}
104104
cancel-in-progress: true
105105
steps:
106-
- uses: actions/checkout@v4
106+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
107107
- uses: ./.github/actions/init
108108
- name: Install Playwright Browsers
109109
run: pnpm exec playwright install --with-deps
@@ -135,7 +135,7 @@ jobs:
135135
run: pnpm test:group ${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
136136
working-directory: packages/matrix
137137
- name: Upload realm server log
138-
uses: actions/upload-artifact@v4
138+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
139139
if: always()
140140
with:
141141
name: matrix-test-realm-server-log-${{ matrix.shardIndex }}
@@ -144,15 +144,15 @@ jobs:
144144

145145
- name: Upload blob report to GitHub Actions Artifacts
146146
if: ${{ !cancelled() }}
147-
uses: actions/upload-artifact@v4
147+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
148148
with:
149149
name: blob-report-${{ matrix.shardIndex }}
150150
path: packages/matrix/blob-report
151151
retention-days: 1
152152

153153
- name: Upload Playwright traces
154154
if: ${{ !cancelled() }}
155-
uses: actions/upload-artifact@v4
155+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
156156
with:
157157
name: playwright-traces-${{ matrix.shardIndex }}
158158
path: packages/matrix/test-results/**/trace.zip
@@ -178,11 +178,11 @@ jobs:
178178
- name: Create a timestamp as a directory to store reports in
179179
id: timestampid
180180
run: echo "timestamp=$(date --utc +%Y%m%d_%H%M%SZ)" >> "$GITHUB_OUTPUT"
181-
- uses: actions/checkout@v4
181+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
182182
- uses: ./.github/actions/init
183183

184184
- name: Download blob reports from GitHub Actions Artifacts
185-
uses: actions/download-artifact@v4
185+
uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0
186186
with:
187187
path: all-blob-reports
188188
pattern: blob-report-*
@@ -192,7 +192,7 @@ jobs:
192192
run: pnpm exec playwright merge-reports --reporter html ./all-blob-reports
193193

194194
- name: Upload HTML report
195-
uses: actions/upload-artifact@v4
195+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
196196
with:
197197
name: html-report--attempt-${{ github.run_attempt }}
198198
path: playwright-report
@@ -207,7 +207,7 @@ jobs:
207207
echo "AWS_S3_BUCKET=cardstack-boxel-matrix-playwright-reports-staging" >> $GITHUB_ENV
208208
209209
- name: Configure AWS credentials
210-
uses: aws-actions/configure-aws-credentials@v4
210+
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # 4.1.0
211211
with:
212212
role-to-assume: ${{ env.AWS_ROLE_ARN }}
213213
aws-region: us-east-1
@@ -257,7 +257,7 @@ jobs:
257257
"virtual-network-test.ts",
258258
]
259259
steps:
260-
- uses: actions/checkout@v4
260+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
261261
- uses: ./.github/actions/init
262262
- name: Build boxel-icons
263263
run: pnpm build
@@ -292,7 +292,7 @@ jobs:
292292
env:
293293
TEST_MODULE: ${{matrix.testModule}}
294294
- name: Upload realm server log
295-
uses: actions/upload-artifact@v4
295+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
296296
if: always()
297297
with:
298298
name: realm-server-test-realm-server-log-${{matrix.testModule}}
@@ -306,7 +306,7 @@ jobs:
306306
group: vscode-boxel-tools-test-${{ github.head_ref || github.run_id }}
307307
cancel-in-progress: true
308308
steps:
309-
- uses: actions/checkout@v4
309+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
310310
- uses: ./.github/actions/init
311311
- name: Build boxel-icons
312312
run: pnpm build
@@ -321,7 +321,7 @@ jobs:
321321
run: pnpm vscode:package
322322
working-directory: packages/vscode-boxel-tools
323323
- name: Upload
324-
uses: actions/upload-artifact@v4
324+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
325325
with:
326326
name: vscode-boxel-tools
327327
path: packages/vscode-boxel-tools/boxel-tools*vsix
@@ -333,8 +333,8 @@ jobs:
333333
outputs:
334334
boxel: ${{ steps.filter.outputs.boxel }}
335335
steps:
336-
- uses: actions/checkout@v4
337-
- uses: dorny/paths-filter@v3
336+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
337+
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # 3.0.2
338338
id: filter
339339
with:
340340
filters: |

.github/workflows/deploy-host.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
concurrency: deploy-host-${{ inputs.environment }}
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2121

2222
- name: Init
2323
uses: ./.github/actions/init
@@ -42,13 +42,13 @@ jobs:
4242
fi
4343
4444
- name: Download dist
45-
uses: actions/download-artifact@v4
45+
uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # 4.2.0
4646
with:
4747
name: host-dist
4848
path: packages/host/tmp/deploy-dist
4949

5050
- name: Configure AWS credentials
51-
uses: aws-actions/configure-aws-credentials@v4
51+
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # 4.1.0
5252
with:
5353
role-to-assume: ${{ env.AWS_ROLE_ARN }}
5454
aws-region: us-east-1

.github/workflows/deploy-motion.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
concurrency: deploy-motion-${{ inputs.environment }}
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2121

2222
- name: Init
2323
uses: ./.github/actions/init
@@ -40,7 +40,7 @@ jobs:
4040
working-directory: packages/boxel-motion/addon
4141

4242
- name: Configure AWS credentials
43-
uses: aws-actions/configure-aws-credentials@v4
43+
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # 4.1.0
4444
with:
4545
role-to-assume: ${{ env.AWS_ROLE_ARN }}
4646
aws-region: us-east-1

.github/workflows/deploy-ui.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
concurrency: deploy-ui-${{ inputs.environment }}-${{ github.head_ref || github.run_id }}
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2121

2222
- name: Init
2323
uses: ./.github/actions/init
@@ -40,7 +40,7 @@ jobs:
4040
working-directory: packages/boxel-ui/addon
4141

4242
- name: Configure AWS credentials
43-
uses: aws-actions/configure-aws-credentials@v4
43+
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # 4.1.0
4444
with:
4545
role-to-assume: ${{ env.AWS_ROLE_ARN }}
4646
aws-region: us-east-1

.github/workflows/manual-vscode-boxel-tools.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
name: Check for changes since last version update
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2222
with:
2323
fetch-depth: 0
2424
- name: Setup Node.js
25-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # 4.3.0
2626
with:
2727
node-version: "20"
2828
- name: Install vsce
@@ -86,7 +86,7 @@ jobs:
8686
needs: check-version
8787
runs-on: ubuntu-latest
8888
steps:
89-
- uses: actions/checkout@v4
89+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
9090
- uses: ./.github/actions/init
9191
- name: Build boxel-ui
9292
run: pnpm build

0 commit comments

Comments
 (0)