Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
6fe60cd
update self-hosted changelog: v0.114.44
thesandlord May 9, 2026
16410ca
update self-hosted changelog: v0.114.45
thesandlord May 9, 2026
4914d57
update self-hosted changelog: v0.114.46
thesandlord May 9, 2026
bcad8c7
Update changelogs from fern repo (#5448)
fern-support May 10, 2026
34839f7
Add live example and align runnable-endpoint page with other componen…
fern-api[bot] May 11, 2026
2bb9258
Add live example to webhook-payload-snippet and align with endpoint-s…
fern-api[bot] May 11, 2026
f516a31
Update fern definition (#5455)
fern-support May 11, 2026
69867e4
Update changelogs from fern repo (#5456)
fern-support May 11, 2026
f0a082b
Document pnpm prerequisite for fern docs dev
fern-api[bot] May 11, 2026
981ca1f
Update changelogs from fern repo (#5458)
fern-support May 11, 2026
b0b548d
Hyphenate 'fine-tuning' in docs quickstart
fern-api[bot] May 11, 2026
fb7d1e1
Update changelogs from fern repo (#5459)
fern-support May 11, 2026
fb7e22a
Document cross-link feature in library docs generator
fern-api[bot] May 11, 2026
d44c4b9
Add updated video for Fern Writer flow (#5429)
devalog May 11, 2026
250a73e
Update changelogs from fern repo (#5460)
fern-support May 11, 2026
7534186
Update changelogs from fern repo (#5461)
fern-support May 11, 2026
c91113b
Update changelogs from fern repo (#5462)
fern-support May 11, 2026
9676969
Merge remote-tracking branch 'origin/update-self-hosted-changelog'
github-actions[bot] May 11, 2026
a5b09c5
update self-hosted changelog: v0.114.47
thesandlord May 11, 2026
d558c7e
Improve fern writer page flow, add prompt component for examples (#5465)
devalog May 11, 2026
b59a7ba
Merge remote-tracking branch 'origin/update-self-hosted-changelog'
github-actions[bot] May 12, 2026
d558a34
update self-hosted changelog: v0.114.48
thesandlord May 12, 2026
7095515
update self-hosted changelog: v0.114.49
thesandlord May 12, 2026
5adb4ff
fix(ci): restrict preview-docs to same-repo PRs only (#5467)
broady May 12, 2026
5aa4766
Update changelogs from fern repo (#5468)
fern-support May 12, 2026
ce7e56d
Update changelogs from fern repo (#5471)
fern-support May 12, 2026
b102364
docs: document `omit` option for basic auth username/password (#5412)
devin-ai-integration[bot] May 12, 2026
82b7035
docs(sdks): document csharp default-timeout-in-seconds config option …
fern-support May 12, 2026
81fe7fe
Update changelogs from fern repo (#5475)
fern-support May 12, 2026
88749c1
docs(cli-generator): add feature documentation for CLI SDK (#5472)
Swimburger May 12, 2026
72dd460
Add missing period in quickstart
fern-api[bot] May 12, 2026
881f408
Update changelogs from fern repo (#5478)
fern-support May 12, 2026
ed1274b
Update changelogs from fern repo (#5479)
fern-support May 12, 2026
876280a
Update changelogs from fern repo (#5480)
fern-support May 12, 2026
cb9e8f2
Update changelogs from fern repo (#5483)
fern-support May 12, 2026
6abd5c6
Merge remote-tracking branch 'origin/update-self-hosted-changelog'
github-actions[bot] May 13, 2026
cf1be84
update self-hosted changelog: v0.114.51
thesandlord May 13, 2026
7f053b0
update self-hosted changelog: v0.114.52
thesandlord May 13, 2026
6b0a66f
update self-hosted changelog: v0.114.53
thesandlord May 13, 2026
699107a
update self-hosted changelog: v0.114.54
thesandlord May 13, 2026
d216354
update self-hosted changelog: v0.114.55
thesandlord May 13, 2026
04549e6
Update changelogs from fern repo (#5488)
fern-support May 13, 2026
c636fbe
Update changelogs from fern repo (#5490)
fern-support May 13, 2026
d3e80b5
Update changelogs from fern repo (#5493)
fern-support May 13, 2026
e8b7138
Update changelogs from fern repo (#5495)
fern-support May 13, 2026
f84fecd
Update changelogs from fern repo (#5496)
fern-support May 13, 2026
135a255
Fix broken links (Devin) (#5486)
github-actions[bot] May 13, 2026
a82c481
Merge remote-tracking branch 'origin/update-self-hosted-changelog'
github-actions[bot] May 13, 2026
5af1a60
update self-hosted changelog: v0.114.56
thesandlord May 13, 2026
069bd8f
Clarify link behavior, link checking, and redirects validation
fern-api[bot] May 13, 2026
5416daa
Merge remote-tracking branch 'origin/update-self-hosted-changelog'
github-actions[bot] May 14, 2026
ca5526e
update self-hosted changelog: v0.114.57
thesandlord May 14, 2026
4d1670f
update self-hosted changelog: v0.114.58
thesandlord May 14, 2026
9170f05
update self-hosted changelog: v0.114.59
thesandlord May 14, 2026
d94403e
Update changelogs from fern repo (#5498)
fern-support May 14, 2026
6d7b154
Update changelogs from fern repo (#5499)
fern-support May 14, 2026
87333d3
Update changelogs from fern repo (#5500)
fern-support May 14, 2026
5c40f51
Update changelogs from fern repo (#5501)
fern-support May 14, 2026
fdd8683
Update changelogs from fern repo (#5502)
fern-support May 14, 2026
5764258
Merge remote-tracking branch 'origin/update-self-hosted-changelog'
github-actions[bot] May 14, 2026
37499bb
update self-hosted changelog: v0.114.60
thesandlord May 14, 2026
507573f
Fix article in TypeScript SDK 2.10.0 changelog entry
fern-api[bot] May 14, 2026
bd800b9
Add cross references skill to AGENTS.md (#5503)
devalog May 14, 2026
e2b70e0
Update changelogs from fern repo (#5504)
fern-support May 14, 2026
6170a33
Update changelogs from fern repo (#5505)
fern-support May 14, 2026
f82ef0d
Update changelogs from fern repo (#5506)
fern-support May 14, 2026
624ae7c
fix: escape bare < in Python changelog to fix MDX parse error (#5507)
Ryan-Amirthan May 14, 2026
161ca65
Update changelogs from fern repo (#5508)
fern-support May 14, 2026
33750c5
Update changelogs from fern repo (#5509)
fern-support May 14, 2026
e168bf6
fix: change fern.yml to docs.yml in 5.26.0 changelog entry (#5510)
Ryan-Amirthan May 14, 2026
d6e0220
Update changelogs from fern repo (#5511)
fern-support May 14, 2026
0aeaf19
Update changelogs from fern repo (#5513)
fern-support May 14, 2026
b513444
Add docs for `fern docs link check` CLI command
fern-api[bot] May 14, 2026
40a2f96
Merge remote-tracking branch 'origin/update-self-hosted-changelog'
github-actions[bot] May 15, 2026
7afb607
update self-hosted changelog: v0.114.61
thesandlord May 15, 2026
07e0f7b
update self-hosted changelog: v0.114.62
thesandlord May 15, 2026
f554ba0
update self-hosted changelog: v0.114.63
thesandlord May 15, 2026
d11ccd8
update self-hosted changelog: v0.114.64
thesandlord May 15, 2026
be0f279
ci: add zizmor GitHub Actions security analysis (#5469)
broady May 15, 2026
bf327a7
Update changelogs from fern repo (#5523)
fern-support May 15, 2026
870932f
Update changelogs from fern repo (#5524)
fern-support May 15, 2026
89f641f
Update changelogs from fern repo (#5525)
fern-support May 15, 2026
317941e
Add nightly workflow to auto-translate stale zh files (#5522)
devin-ai-integration[bot] May 15, 2026
ebc6639
Update 101 stale zh translations to match current EN source (#5515)
github-actions[bot] May 15, 2026
686fcfe
Update changelogs from fern repo (#5527)
fern-support May 16, 2026
ef19f6b
Update changelogs from fern repo (#5528)
fern-support May 16, 2026
126c522
Update changelogs from fern repo (#5529)
fern-support May 16, 2026
ba5f179
Update changelogs from fern repo (#5530)
fern-support May 16, 2026
4666f88
Update changelogs from fern repo (#5531)
fern-support May 16, 2026
af9e33a
Update changelogs from fern repo (#5532)
fern-support May 16, 2026
0a4839b
Update changelogs from fern repo (#5533)
fern-support May 17, 2026
0ce1d0b
Update changelogs from fern repo (#5534)
fern-support May 17, 2026
c0d25cf
Update changelogs from fern repo (#5535)
fern-support May 18, 2026
9fc6c3f
Update changelogs from fern repo (#5536)
fern-support May 18, 2026
9056819
Update changelogs from fern repo (#5537)
fern-support May 18, 2026
ed13666
Update changelogs from fern repo (#5538)
fern-support May 18, 2026
852b5c2
Remove banner and add deprecation callout to Fern Definition pages
fern-api[bot] May 18, 2026
d1b4f66
docs(sdks): document SDK auto-versioning for self-hosted setups (#5473)
jsklan May 18, 2026
3de7b2a
Update changelogs from fern repo (#5541)
fern-support May 18, 2026
234a9f4
docs: show availability SDK output with TypeScript examples (#5539)
devin-ai-integration[bot] May 18, 2026
e16e880
Merge remote-tracking branch 'origin/update-self-hosted-changelog'
github-actions[bot] May 18, 2026
9b03d87
update self-hosted changelog: v0.114.66
thesandlord May 18, 2026
25c0557
ci: skip preview gracefully when FERN_TOKEN is unavailable (#5540)
broady May 18, 2026
89ac5a6
ci(deps): bump tj-actions/changed-files from 47.0.0 to 47.0.6 (#5516)
dependabot[bot] May 18, 2026
d4ab9a2
Update changelogs from fern repo (#5543)
fern-support May 18, 2026
3d90ba1
Merge remote-tracking branch 'origin/update-self-hosted-changelog'
github-actions[bot] May 18, 2026
da6e885
update self-hosted changelog: v0.114.67
thesandlord May 18, 2026
8dd604a
update self-hosted changelog: v0.114.68
thesandlord May 18, 2026
c8aba3a
Update changelogs from fern repo (#5544)
fern-support May 18, 2026
21855e5
docs: add analytics events reference page (#5512)
devin-ai-integration[bot] May 18, 2026
422cade
Merge remote-tracking branch 'origin/update-self-hosted-changelog'
github-actions[bot] May 19, 2026
c6974c4
update self-hosted changelog: v0.114.69
thesandlord May 19, 2026
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
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Configures Dependabot to keep our GitHub Actions pinned references up to date.
# Other ecosystems are intentionally not enabled here.
#
# Pair with the `unpinned-uses` policy enforced by `.github/workflows/zizmor.yml`:
# zizmor requires actions to be pinned to a full-length commit SHA with the
# version tag as a trailing comment. Dependabot will keep both in sync.
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
actions:
patterns:
- "*"
cooldown:
default-days: 14
open-pull-requests-limit: 1
commit-message:
prefix: "ci"
include: "scope"
labels:
- "dependencies"
- "github-actions"
4 changes: 2 additions & 2 deletions .github/workflows/auto-merge-on-docs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Find and merge dependent PRs
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
script: |
const version = context.payload.client_payload.version;
Expand Down Expand Up @@ -47,4 +47,4 @@ jobs:
console.log(`Merged PR #${pr.number}: ${pr.title}`);
}
}
}
}
2 changes: 1 addition & 1 deletion .github/workflows/check-devin-pr-assignee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: ${{ github.event.pull_request.user.login == 'devin-ai-integration[bot]' }}
steps:
- name: Auto-assign requester from PR description
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
47 changes: 30 additions & 17 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
persist-credentials: false

- name: Create lychee config
run: |
Expand Down Expand Up @@ -380,7 +382,7 @@ jobs:


- name: Upload URLs (early, for debugging)
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
with:
name: urls
path: |
Expand All @@ -392,7 +394,7 @@ jobs:
- name: Check GitHub links (very low concurrency to avoid 503 rate limiting)
id: lychee_github
if: steps.extract_github_http.outputs.github_http_count != '0'
uses: lycheeverse/lychee-action@v2
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2
with:
args: >-
--no-progress
Expand All @@ -408,7 +410,7 @@ jobs:

- name: Check non-GitHub links (high concurrency)
id: lychee_main
uses: lycheeverse/lychee-action@v2
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2
with:
args: >-
--config lychee.toml
Expand Down Expand Up @@ -600,15 +602,15 @@ jobs:
broken_count=$(wc -l < broken-links.txt | tr -d ' ')

# Get rate limit stats
rate_limited="${{ steps.retry429.outputs.rate_limited_count }}"
rate_limited="${STEPS_RETRY429_OUTPUTS_RATE_LIMITED_COUNT}"
rate_limited=${rate_limited:-0}
still_failing_429="${{ steps.retry429.outputs.still_failing_429 }}"
still_failing_429="${STEPS_RETRY429_OUTPUTS_STILL_FAILING_429}"
still_failing_429=${still_failing_429:-0}

# Get GitHub local verification stats
github_verified="${{ steps.verify_github.outputs.verified_count }}"
github_verified="${STEPS_VERIFY_GITHUB_OUTPUTS_VERIFIED_COUNT}"
github_verified=${github_verified:-0}
github_missing="${{ steps.verify_github.outputs.missing_count }}"
github_missing="${STEPS_VERIFY_GITHUB_OUTPUTS_MISSING_COUNT}"
github_missing=${github_missing:-0}

# Build clean errors-only report
Expand Down Expand Up @@ -682,9 +684,9 @@ jobs:
cat lychee-summary-table.md
echo ""
# Get repo-internal GitHub URL counts
verified_locally="${{ steps.retry429.outputs.verified_locally }}"
verified_locally="${STEPS_RETRY429_OUTPUTS_VERIFIED_LOCALLY}"
verified_locally=${verified_locally:-0}
missing_locally="${{ steps.retry429.outputs.missing_locally }}"
missing_locally="${STEPS_RETRY429_OUTPUTS_MISSING_LOCALLY}"
missing_locally=${missing_locally:-0}

echo "Recovery Info:"
Expand Down Expand Up @@ -763,18 +765,25 @@ jobs:

echo ""
} >> "$GITHUB_STEP_SUMMARY"
env:
STEPS_RETRY429_OUTPUTS_RATE_LIMITED_COUNT: ${{ steps.retry429.outputs.rate_limited_count }}
STEPS_RETRY429_OUTPUTS_STILL_FAILING_429: ${{ steps.retry429.outputs.still_failing_429 }}
STEPS_VERIFY_GITHUB_OUTPUTS_VERIFIED_COUNT: ${{ steps.verify_github.outputs.verified_count }}
STEPS_VERIFY_GITHUB_OUTPUTS_MISSING_COUNT: ${{ steps.verify_github.outputs.missing_count }}
STEPS_RETRY429_OUTPUTS_VERIFIED_LOCALLY: ${{ steps.retry429.outputs.verified_locally }}
STEPS_RETRY429_OUTPUTS_MISSING_LOCALLY: ${{ steps.retry429.outputs.missing_locally }}

- name: Upload errors-only report
if: always()
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
with:
name: lychee-report
path: ./lychee-report.md
if-no-files-found: ignore

- name: Upload lychee outputs and verification results
if: always()
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
with:
name: lychee-outputs
path: |
Expand All @@ -787,7 +796,7 @@ jobs:
- name: Create PR for broken links
id: create-pr
if: steps.check_failures.outputs.has_other_failures == 'true' || steps.retry429.outputs.has_429_failures == 'true' || steps.verify_github.outputs.has_missing == 'true'
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
env:
DEVIN_PROMPT: |
@devin-ai-integration Please fix the broken links detected by the scheduled link checker.
Expand Down Expand Up @@ -1042,7 +1051,7 @@ jobs:

- name: Send Slack notification for broken links
if: steps.create-pr.outputs.pr_created == 'true'
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
env:
SLACK_TOKEN: ${{ secrets.DEVIN_AI_PR_BOT_SLACK_TOKEN }}
PR_URL: ${{ steps.create-pr.outputs.pr_url }}
Expand Down Expand Up @@ -1085,14 +1094,18 @@ jobs:
if: steps.check_failures.outputs.has_other_failures == 'true' || steps.retry429.outputs.has_429_failures == 'true' || steps.verify_github.outputs.has_missing == 'true'
run: |
echo "Link check failed!"
if [ "${{ steps.check_failures.outputs.has_other_failures }}" == "true" ]; then
if [ "${STEPS_CHECK_FAILURES_OUTPUTS_HAS_OTHER_FAILURES}" == "true" ]; then
echo "There are broken links (non-429 failures) in the report."
fi
if [ "${{ steps.retry429.outputs.has_429_failures }}" == "true" ]; then
if [ "${STEPS_RETRY429_OUTPUTS_HAS_429_FAILURES}" == "true" ]; then
echo "Some URLs still returned 429 after exponential backoff retry."
echo "These URLs may need to be excluded or the rate limit needs more time to reset."
fi
if [ "${{ steps.verify_github.outputs.has_missing }}" == "true" ]; then
if [ "${STEPS_VERIFY_GITHUB_OUTPUTS_HAS_MISSING}" == "true" ]; then
echo "Some GitHub URLs point to paths that don't exist in the repos."
fi
exit 1
env:
STEPS_CHECK_FAILURES_OUTPUTS_HAS_OTHER_FAILURES: ${{ steps.check_failures.outputs.has_other_failures }}
STEPS_RETRY429_OUTPUTS_HAS_429_FAILURES: ${{ steps.retry429.outputs.has_429_failures }}
STEPS_VERIFY_GITHUB_OUTPUTS_HAS_MISSING: ${{ steps.verify_github.outputs.has_missing }}
11 changes: 6 additions & 5 deletions .github/workflows/fern-scribe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v5
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version: '20'
cache: 'npm'
Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:

- name: Comment on issue
if: success()
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
script: |
github.rest.issues.createComment({
Expand All @@ -74,12 +75,12 @@ jobs:

- name: Comment on failure
if: failure()
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '❌ **Fern Scribe encountered an error**\n\nThere was an issue processing your documentation request. Please check the action logs and try again.\n\nIf the problem persists, please contact the maintainers.'
});
});
41 changes: 33 additions & 8 deletions .github/workflows/preview-docs.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,50 @@
name: Preview Docs

on:
pull_request_target:
pull_request:
types: [opened, synchronize, ready_for_review]
branches:
- main

jobs:
run:
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
permissions:
pull-requests: write # Only for commenting
contents: read # For checking out code
steps:
- name: Check for FERN_TOKEN
id: check-token
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
if [ -z "$FERN_TOKEN" ]; then
echo "FERN_TOKEN is not available (e.g. Dependabot PRs). Skipping preview."
echo "has_token=false" >> $GITHUB_OUTPUT
else
echo "has_token=true" >> $GITHUB_OUTPUT
fi

- name: Checkout repository
uses: actions/checkout@v5
if: steps.check-token.outputs.has_token == 'true'
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
fetch-depth: 0 # Fetch full history for git diff
persist-credentials: false

- name: Checkout PR
if: steps.check-token.outputs.has_token == 'true'
run: |
git fetch origin pull/${{ github.event.pull_request.number }}/head:pr-${{ github.event.pull_request.number }}
git checkout pr-${{ github.event.pull_request.number }}

- name: Setup Fern CLI
uses: fern-api/setup-fern-cli@v1
if: steps.check-token.outputs.has_token == 'true'
uses: fern-api/setup-fern-cli@d07601425e9c9ede8745d71ca75c4c462d98755d # v1

- name: Generate preview URL
if: steps.check-token.outputs.has_token == 'true'
id: generate-docs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
Expand All @@ -39,11 +57,13 @@ jobs:
echo "Preview URL: $URL"

- name: Get page links for changed MDX files
if: steps.check-token.outputs.has_token == 'true'
id: page-links
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
STEPS_GENERATE_DOCS_OUTPUTS_PREVIEW_URL: ${{ steps.generate-docs.outputs.preview_url }}
run: |
PREVIEW_URL="${{ steps.generate-docs.outputs.preview_url }}"
PREVIEW_URL="${STEPS_GENERATE_DOCS_OUTPUTS_PREVIEW_URL}"
CHANGED_FILES=$(git diff --name-only origin/main...HEAD -- '*.mdx' 2>/dev/null || echo "")

if [ -z "$CHANGED_FILES" ] || [ -z "$PREVIEW_URL" ]; then
Expand All @@ -67,17 +87,22 @@ jobs:
fi

- name: Create comment content
if: steps.check-token.outputs.has_token == 'true'
run: |
echo ":herb: **Preview your docs:** <${{ steps.generate-docs.outputs.preview_url }}>" > comment.md
echo ":herb: **Preview your docs:** <${STEPS_GENERATE_DOCS_OUTPUTS_PREVIEW_URL}>" > comment.md

if [ -n "${{ steps.page-links.outputs.page_links }}" ]; then
if [ -n "${STEPS_PAGE_LINKS_OUTPUTS_PAGE_LINKS}" ]; then
echo "" >> comment.md
echo "Here are the markdown pages you've updated:" >> comment.md
echo "${{ steps.page-links.outputs.page_links }}" >> comment.md
echo "${STEPS_PAGE_LINKS_OUTPUTS_PAGE_LINKS}" >> comment.md
fi
env:
STEPS_GENERATE_DOCS_OUTPUTS_PREVIEW_URL: ${{ steps.generate-docs.outputs.preview_url }}
STEPS_PAGE_LINKS_OUTPUTS_PAGE_LINKS: ${{ steps.page-links.outputs.page_links }}

- name: Post PR comment
uses: thollander/actions-comment-pull-request@v2.4.3
if: steps.check-token.outputs.has_token == 'true'
uses: thollander/actions-comment-pull-request@1d3973dc4b8e1399c0620d3f2b1aa5e795465308 # v2.4.3
with:
filePath: comment.md
comment_tag: preview-docs
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
persist-credentials: false

- name: Setup Fern CLI
uses: fern-api/setup-fern-cli@v1
uses: fern-api/setup-fern-cli@d07601425e9c9ede8745d71ca75c4c462d98755d # v1

- name: Publish Docs
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10
with:
stale-pr-message: 'This PR is stale because it has been open 25 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
close-pr-message: 'This PR was closed because it has been inactive for 5 days after being marked stale.'
Expand Down
Loading
Loading