-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(seed): exposes a command to generate fern docs changelogs for th…
…e generators + CLI (#4721)
- Loading branch information
1 parent
496e636
commit 6d3572a
Showing
728 changed files
with
5,383 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Write Changelogs | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
# Changelogs | ||
- "packages/cli/cli/versions.yml" | ||
- "generators/csharp/model/versions.yml" | ||
- "generators/csharp/sdk/versions.yml" | ||
- "generators/python/fastapi/versions.yml" | ||
- "generators/go/model/versions.yml" | ||
- "generators/go/sdk/versions.yml" | ||
- "generators/java/model/versions.yml" | ||
- "generators/java/sdk/versions.yml" | ||
- "generators/java/spring/versions.yml" | ||
- "generators/openapi/versions.yml" | ||
- "generators/postman/versions.yml" | ||
- "generators/python/pydantic/versions.yml" | ||
- "generators/python/sdk/versions.yml" | ||
- "generators/ruby/model/versions.yml" | ||
- "generators/ruby/sdk/versions.yml" | ||
- "generators/typescript/express/versions.yml" | ||
# This file | ||
- ".github/workflows/write-changelogs.yml" | ||
|
||
jobs: | ||
write-changelogs: | ||
runs-on: ubuntu-latest | ||
permissions: write-all | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Install | ||
uses: ./.github/actions/install | ||
|
||
- name: Write generator changelogs | ||
env: | ||
FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | ||
run: | | ||
echo "Generating changelogs for generators" | ||
pnpm seed:local generate changelog generator -o ./fern/pages/changelogs/ | ||
- name: Write CLI changelogs | ||
env: | ||
FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | ||
run: | | ||
echo "Generating changelogs for CLI" | ||
pnpm seed:local generate changelog cli -o ./fern/pages/changelogs/cli/ | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "chore: update changelog" | ||
add_options: "-A ./fern/pages/changelogs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 0.1.3-rc0 | ||
**`(chore):`** Release 0.1.3-rc0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 0.1.3-rc8 | ||
**`(chore):`** Release 0.1.3-rc8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 0.2.1 | ||
**`(chore):`** Release 0.2.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 0.3.0-rc1 | ||
**`(chore):`** Release 0.3.0-rc1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 0.3.0-rc11 | ||
**`(chore):`** Release 0.3.0-rc11 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 0.3.0-rc12 | ||
**`(chore):`** Release 0.3.0-rc12 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 0.3.0 | ||
**`(chore):`** Release 0.3.0 | ||
|
Oops, something went wrong.