-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into nebula-docs
- Loading branch information
Showing
38 changed files
with
2,092 additions
and
369 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,17 @@ name: Auto Author Assign | |
|
||
on: | ||
pull_request: | ||
types: [ opened, reopened ] | ||
types: [opened, reopened] | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
assign-author: | ||
runs-on: ubuntu-latest | ||
if: | | ||
github.event.pull_request.author_association == 'MEMBER' || | ||
github.event.pull_request.author_association == 'OWNER' || | ||
github.event.pull_request.author_association == 'COLLABORATOR' | ||
steps: | ||
- uses: toshimaru/[email protected] |
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,50 @@ | ||
name: TypeDoc | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment | ||
concurrency: | ||
group: "typedoc" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
name: "Generate TypeDoc" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install | ||
uses: ./.github/composite-actions/install | ||
|
||
- name: Run TypeDoc | ||
run: pnpm typedoc | ||
|
||
- name: Update Gist | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.GIST_TOKEN }} | ||
script: | | ||
const fs = require('fs'); | ||
const content = fs.readFileSync('./packages/thirdweb/typedoc/parsed.json', 'utf8'); | ||
const gistId = '678fe1f331a01270bb002fee660f285d'; | ||
await github.rest.gists.update({ | ||
gist_id: gistId, | ||
files: { | ||
'data.json': { | ||
content: content | ||
} | ||
} | ||
}); | ||
console.log(`Permalink: https://gist.githubusercontent.com/raw/${gistId}/data.json`); |
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
Oops, something went wrong.