Skip to content

Commit 08f6cf1

Browse files
committed
Merge remote-tracking branch 'upstream/stable' into stable
2 parents 79dfb5b + 7045646 commit 08f6cf1

File tree

205 files changed

+26836
-6238
lines changed

Some content is hidden

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

205 files changed

+26836
-6238
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Bug report"
1+
name: 'Bug report'
22
description: Create a report to help us improve
33
body:
44
- type: markdown

.github/ISSUE_TEMPLATE/epic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ Usual values: Software Developers using the IDE | Contributors -->
1919

2020
# Capabilities
2121

22-
<!-- which existing capabilities or future features can be imagined that belong to this epic? This list serves as illustration to sketch the boundaries of this epic.
22+
<!-- which existing capabilities or future features can be imagined that belong to this epic? This list serves as illustration to sketch the boundaries of this epic.
2323
Once features are actually being planned / described in detail, they can be linked here. -->

.github/ISSUE_TEMPLATE/feature.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ assignees: ''
1313

1414
# Scope
1515

16-
<!-- This is kind-of the definition-of-done for a feature.
16+
<!-- This is kind-of the definition-of-done for a feature.
1717
Try to keep the scope as small as possible and prefer creating multiple, small features which each solve a single problem / make something better
1818
-->
1919

2020
# Options
21-
22-
<!-- If you already have an idea how this can be implemented, please describe it here.
21+
22+
<!-- If you already have an idea how this can be implemented, please describe it here.
2323
This allows potential other contributors to join forces and provide meaningful feedback prio to even starting work on it.
2424
-->
2525

.github/workflows/docker.yaml

Lines changed: 28 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,61 @@
1-
---
21
name: Docker Publish
32

43
on:
5-
workflow_dispatch:
64
push:
75
branches:
86
- main
9-
tags:
10-
- v*
11-
- "*"
7+
- stable
8+
workflow_dispatch:
129

1310
permissions:
1411
packages: write
1512
contents: read
1613

1714
env:
1815
REGISTRY: ghcr.io
19-
DOCKER_IMAGE: ghcr.io/${{ github.repository }}
20-
BUILD_TARGET: bolt-ai-production # bolt-ai-development
16+
IMAGE_NAME: ${{ github.repository }}
2117

2218
jobs:
2319
docker-build-publish:
2420
runs-on: ubuntu-latest
2521
steps:
26-
- name: Checkout
22+
- name: Checkout code
2723
uses: actions/checkout@v4
2824

29-
- id: string
30-
uses: ASzc/change-string-case-action@v6
31-
with:
32-
string: ${{ env.DOCKER_IMAGE }}
33-
34-
- name: Docker meta
35-
id: meta
36-
uses: crazy-max/ghaction-docker-meta@v5
37-
with:
38-
images: ${{ steps.string.outputs.lowercase }}
39-
flavor: |
40-
latest=true
41-
prefix=
42-
suffix=
43-
tags: |
44-
type=semver,pattern={{version}}
45-
type=pep440,pattern={{version}}
46-
type=ref,event=tag
47-
type=raw,value={{sha}}
48-
49-
- name: Set up QEMU
50-
uses: docker/setup-qemu-action@v3
51-
5225
- name: Set up Docker Buildx
5326
uses: docker/setup-buildx-action@v3
5427

55-
- name: Login to Container Registry
28+
- name: Log in to GitHub Container Registry
5629
uses: docker/login-action@v3
5730
with:
5831
registry: ${{ env.REGISTRY }}
59-
username: ${{ github.actor }} # ${{ secrets.DOCKER_USERNAME }}
60-
password: ${{ secrets.GITHUB_TOKEN }} # ${{ secrets.DOCKER_PASSWORD }}
32+
username: ${{ github.actor }}
33+
password: ${{ secrets.GITHUB_TOKEN }}
34+
35+
- name: Extract metadata for Docker image
36+
id: meta
37+
uses: docker/metadata-action@v4
38+
with:
39+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6140

62-
- name: Build and push
41+
- name: Build and push Docker image for main
42+
if: github.ref == 'refs/heads/main'
6343
uses: docker/build-push-action@v6
6444
with:
6545
context: .
66-
file: ./Dockerfile
67-
target: ${{ env.BUILD_TARGET }}
68-
platforms: linux/amd64,linux/arm64
6946
push: true
70-
tags: ${{ steps.meta.outputs.tags }}
47+
tags: |
48+
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
49+
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
7150
labels: ${{ steps.meta.outputs.labels }}
72-
cache-from: type=registry,ref=${{ steps.string.outputs.lowercase }}:latest
73-
cache-to: type=inline
7451

75-
- name: Check manifest
76-
run: |
77-
docker buildx imagetools inspect ${{ steps.string.outputs.lowercase }}:${{ steps.meta.outputs.version }}
78-
79-
- name: Dump context
80-
if: always()
81-
uses: crazy-max/ghaction-dump-context@v2
52+
- name: Build and push Docker image for stable
53+
if: github.ref == 'refs/heads/stable'
54+
uses: docker/build-push-action@v6
55+
with:
56+
context: .
57+
push: true
58+
tags: |
59+
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:stable
60+
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
61+
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'docs/**' # This will only trigger the workflow when files in docs directory change
8+
- 'docs/**' # This will only trigger the workflow when files in docs directory change
99
permissions:
1010
contents: write
1111
jobs:
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/setup-python@v5
2424
with:
2525
python-version: 3.x
26-
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
26+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
2727
- uses: actions/cache@v4
2828
with:
2929
key: mkdocs-material-${{ env.cache_id }}
@@ -32,4 +32,4 @@ jobs:
3232
mkdocs-material-
3333
3434
- run: pip install mkdocs-material
35-
- run: mkdocs gh-deploy --force
35+
- run: mkdocs gh-deploy --force

.github/workflows/pr-release-validation.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ on:
99
jobs:
1010
validate:
1111
runs-on: ubuntu-latest
12-
12+
1313
steps:
1414
- uses: actions/checkout@v4
15-
15+
1616
- name: Validate PR Labels
1717
run: |
1818
if [[ "${{ contains(github.event.pull_request.labels.*.name, 'stable-release') }}" == "true" ]]; then
@@ -28,4 +28,4 @@ jobs:
2828
fi
2929
else
3030
echo "This PR doesn't have the stable-release label. No release will be created."
31-
fi
31+
fi

.github/workflows/semantic-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
docs
3030
refactor
3131
revert
32-
test
32+
test

.github/workflows/stale.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Mark Stale Issues and Pull Requests
22

33
on:
44
schedule:
5-
- cron: '0 2 * * *' # Runs daily at 2:00 AM UTC
6-
workflow_dispatch: # Allows manual triggering of the workflow
5+
- cron: '0 2 * * *' # Runs daily at 2:00 AM UTC
6+
workflow_dispatch: # Allows manual triggering of the workflow
77

88
jobs:
99
stale:
@@ -14,12 +14,12 @@ jobs:
1414
uses: actions/stale@v8
1515
with:
1616
repo-token: ${{ secrets.GITHUB_TOKEN }}
17-
stale-issue-message: "This issue has been marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days."
18-
stale-pr-message: "This pull request has been marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days."
19-
days-before-stale: 10 # Number of days before marking an issue or PR as stale
20-
days-before-close: 4 # Number of days after being marked stale before closing
21-
stale-issue-label: "stale" # Label to apply to stale issues
22-
stale-pr-label: "stale" # Label to apply to stale pull requests
23-
exempt-issue-labels: "pinned,important" # Issues with these labels won't be marked stale
24-
exempt-pr-labels: "pinned,important" # PRs with these labels won't be marked stale
25-
operations-per-run: 75 # Limits the number of actions per run to avoid API rate limits
17+
stale-issue-message: 'This issue has been marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days.'
18+
stale-pr-message: 'This pull request has been marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days.'
19+
days-before-stale: 10 # Number of days before marking an issue or PR as stale
20+
days-before-close: 4 # Number of days after being marked stale before closing
21+
stale-issue-label: 'stale' # Label to apply to stale issues
22+
stale-pr-label: 'stale' # Label to apply to stale pull requests
23+
exempt-issue-labels: 'pinned,important' # Issues with these labels won't be marked stale
24+
exempt-pr-labels: 'pinned,important' # PRs with these labels won't be marked stale
25+
operations-per-run: 75 # Limits the number of actions per run to avoid API rate limits

.github/workflows/update-stable.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77

88
permissions:
99
contents: write
10-
10+
1111
jobs:
1212
prepare-release:
1313
if: contains(github.event.head_commit.message, '#release')
1414
runs-on: ubuntu-latest
15-
15+
1616
steps:
1717
- uses: actions/checkout@v4
1818
with:
@@ -80,7 +80,6 @@ jobs:
8080
NEW_VERSION=${{ steps.bump_version.outputs.new_version }}
8181
pnpm version $NEW_VERSION --no-git-tag-version --allow-same-version
8282
83-
8483
- name: Prepare changelog script
8584
run: chmod +x .github/scripts/generate-changelog.sh
8685

@@ -89,14 +88,14 @@ jobs:
8988
env:
9089
NEW_VERSION: ${{ steps.bump_version.outputs.new_version }}
9190
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92-
91+
9392
run: .github/scripts/generate-changelog.sh
9493

9594
- name: Get the latest commit hash and version tag
9695
run: |
9796
echo "COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV
9897
echo "NEW_VERSION=${{ steps.bump_version.outputs.new_version }}" >> $GITHUB_ENV
99-
98+
10099
- name: Commit and Tag Release
101100
run: |
102101
git pull
@@ -120,7 +119,9 @@ jobs:
120119
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121120
run: |
122121
VERSION="v${{ steps.bump_version.outputs.new_version }}"
122+
# Save changelog to a file
123+
echo "${{ steps.changelog.outputs.content }}" > release_notes.md
123124
gh release create "$VERSION" \
124125
--title "Release $VERSION" \
125-
--notes "${{ steps.changelog.outputs.content }}" \
126-
--target stable
126+
--notes-file release_notes.md \
127+
--target stable

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,8 @@ modelfiles
3939
site
4040

4141
# commit file ignore
42-
app/commit.json
42+
app/commit.json
43+
changelogUI.md
44+
docs/instructions/Roadmap.md
45+
.cursorrules
46+
*.md

0 commit comments

Comments
 (0)