Skip to content

Commit d030fc4

Browse files
committed
fix: updates
1 parent 54789e2 commit d030fc4

22 files changed

+2714
-1202
lines changed

.github/dependabot.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
version: 2
22

33
updates:
4-
- directory: '/'
4+
- cooldown:
5+
default-days: 7
6+
include:
7+
- '*'
8+
directory: '/'
59
groups:
610
actions:
711
update-types:
812
- 'minor'
913
- 'patch'
10-
labels:
11-
- 'dependencies'
12-
- 'github-actions'
14+
labels: []
15+
open-pull-requests-limit: 5
1316
package-ecosystem: 'github-actions'
1417
schedule:
15-
day: saturday
18+
day: monday
1619
interval: weekly
1720
time: '07:00'
1821
timezone: Etc/UTC

.github/workflows/auto-merge.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: auto-merge
2+
3+
permissions: {}
4+
5+
on:
6+
schedule:
7+
- cron: '7,37 9-16 * * 3'
8+
- cron: '7,37 9-16 * * 4'
9+
workflow_dispatch:
10+
inputs:
11+
merge-strategy:
12+
default: rebase,squash
13+
description: 'ranked merge strategy preference'
14+
options:
15+
- squash,rebase
16+
- rebase,squash
17+
- squash
18+
- rebase
19+
required: false
20+
type: choice
21+
pr-number:
22+
description: 'single pr number'
23+
required: false
24+
type: string
25+
26+
concurrency:
27+
cancel-in-progress: true
28+
group: auto-merge-dispatch
29+
30+
jobs:
31+
auto-merge:
32+
permissions:
33+
checks: read
34+
contents: write
35+
pull-requests: write
36+
statuses: read
37+
uses: escapace/workflows/.github/workflows/auto-merge.yaml@trunk
38+
with:
39+
merge-strategy: ${{ inputs.merge-strategy }}
40+
pr-number: ${{ inputs.pr-number }}

.github/workflows/ci.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ on:
1616

1717
permissions:
1818
contents: read
19-
packages: read
2019

2120
env:
2221
# 7 GiB by default on GitHub, setting to 6 GiB
@@ -25,11 +24,19 @@ env:
2524

2625
jobs:
2726
context:
27+
permissions:
28+
checks: read
29+
contents: read
30+
pull-requests: read
31+
statuses: read
2832
uses: escapace/workflows/.github/workflows/context.yaml@trunk
2933

30-
ci-typescript:
34+
continuous-integration:
3135
needs:
3236
- context
37+
permissions:
38+
contents: read
39+
packages: read
3340
secrets:
3441
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3542
uses: escapace/workflows/.github/workflows/ci-typescript.yaml@trunk

.github/workflows/codeql-analysis.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@ on:
1010

1111
permissions:
1212
contents: read
13-
packages: read
1413

1514
jobs:
1615
context:
16+
permissions:
17+
checks: read
18+
contents: read
19+
pull-requests: read
20+
statuses: read
1721
uses: escapace/workflows/.github/workflows/context.yaml@trunk
1822

1923
codeql-analysis:

.github/workflows/dependency-review.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: dependency-review
33
on:
44
- pull_request
55

6-
permissions: {}
6+
permissions:
7+
contents: read
78

89
jobs:
910
dependency-review:
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: release-github-pages
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
8+
9+
env:
10+
# 7 GiB by default on GitHub, setting to 6 GiB
11+
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
12+
NODE_OPTIONS: --max-old-space-size=6144
13+
14+
jobs:
15+
context:
16+
permissions:
17+
checks: read
18+
contents: read
19+
pull-requests: read
20+
statuses: read
21+
uses: escapace/workflows/.github/workflows/context.yaml@trunk
22+
23+
continuous-integration:
24+
needs:
25+
- context
26+
permissions:
27+
contents: read
28+
packages: read
29+
uses: escapace/workflows/.github/workflows/ci-typescript.yaml@trunk
30+
with:
31+
enable-artifact-upload: false
32+
enable-codecov: false
33+
enable-github-pages: ${{ fromJSON(needs.context.outputs.github-pages) }}
34+
github-pages-path: ${{ needs.context.outputs.github-pages-path }}
35+
node-version: ${{ needs.context.outputs.node-version }}
36+
pnpm-version: ${{ needs.context.outputs.pnpm-version }}
37+
ref: ${{ needs.context.outputs.ref }}
38+
version: ${{ needs.context.outputs.version }}
39+
40+
release-github-pages:
41+
if: needs.context.outputs.github-pages
42+
needs:
43+
- context
44+
- continuous-integration
45+
permissions:
46+
contents: read
47+
id-token: write
48+
pages: write
49+
uses: escapace/workflows/.github/workflows/release-github-pages.yaml@trunk

.github/workflows/release.yaml

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,38 @@ on:
55
tags:
66
- 'v*'
77

8+
permissions:
9+
contents: read
10+
811
env:
912
# 7 GiB by default on GitHub, setting to 6 GiB
1013
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
1114
NODE_OPTIONS: --max-old-space-size=6144
1215

1316
jobs:
1417
context:
18+
permissions:
19+
checks: read
20+
contents: read
21+
pull-requests: read
22+
statuses: read
1523
uses: escapace/workflows/.github/workflows/context.yaml@trunk
1624

17-
ci-typescript:
25+
continuous-integration:
1826
if: needs.context.outputs.environment == 'production' || needs.context.outputs.environment == 'staging'
1927
needs:
2028
- context
29+
permissions:
30+
contents: read
31+
packages: read
2132
secrets:
2233
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2334
uses: escapace/workflows/.github/workflows/ci-typescript.yaml@trunk
2435
with:
2536
enable-artifact-upload: true
2637
enable-codecov: ${{ !github.event.repository.private }}
38+
enable-github-pages: ${{ fromJSON(needs.context.outputs.github-pages) }}
39+
github-pages-path: ${{ needs.context.outputs.github-pages-path }}
2740
node-version: ${{ needs.context.outputs.node-version }}
2841
pnpm-version: ${{ needs.context.outputs.pnpm-version }}
2942
ref: ${{ needs.context.outputs.ref }}
@@ -33,7 +46,10 @@ jobs:
3346
if: needs.context.outputs.environment == 'production' || needs.context.outputs.environment == 'staging'
3447
needs:
3548
- context
36-
- ci-typescript
49+
- continuous-integration
50+
permissions:
51+
id-token: write
52+
packages: write
3753
secrets:
3854
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3955
uses: escapace/workflows/.github/workflows/release-typescript.yaml@trunk
@@ -44,10 +60,24 @@ jobs:
4460
if: needs.context.outputs.environment == 'production' || needs.context.outputs.environment == 'staging'
4561
needs:
4662
- context
47-
- ci-typescript
63+
- continuous-integration
4864
- release-typescript
65+
permissions:
66+
contents: write
4967
uses: escapace/workflows/.github/workflows/release-github.yaml@trunk
5068
with:
5169
changelog: ${{ needs.context.outputs.changelog }}
5270
prerelease: ${{ fromJSON(needs.context.outputs.prerelease) }}
5371
version: ${{ needs.context.outputs.version }}
72+
73+
release-github-pages:
74+
if: fromJSON(needs.context.outputs.github-pages) && (needs.context.outputs.environment == 'production' || needs.context.outputs.environment == 'staging')
75+
needs:
76+
- context
77+
- continuous-integration
78+
- release-typescript
79+
permissions:
80+
contents: read
81+
id-token: write
82+
pages: write
83+
uses: escapace/workflows/.github/workflows/release-github-pages.yaml@trunk

.github/workflows/scorecard.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: scorecard
22

3-
permissions: {}
3+
permissions:
4+
contents: read
45

56
on:
67
branch_protection_rule:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.aider*
2+
.firecrawl/
23
.cache
34
.cache/
5+
.claude/*.local.json
46
.docusaurus
57
.dynamodb/
68
.env

.syncpackrc.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,21 @@
1616
"engines"
1717
],
1818
"semverGroups": [
19+
{
20+
"dependencies": ["browserslist"],
21+
"dependencyTypes": ["peer"],
22+
"packages": ["**"],
23+
"range": ">="
24+
},
25+
{
26+
"dependencies": ["**"],
27+
"dependencyTypes": ["engines"],
28+
"packages": ["**"],
29+
"range": ">="
30+
},
1931
{
2032
"dependencies": ["**"],
21-
"dependencyTypes": ["engines", "peer", "prod"],
33+
"dependencyTypes": ["peer", "prod"],
2234
"packages": ["**"],
2335
"range": "^"
2436
},

0 commit comments

Comments
 (0)