Skip to content

Commit 3a7a176

Browse files
committed
feat: connect api reference pages to source links
1 parent a1f43e0 commit 3a7a176

879 files changed

Lines changed: 18583 additions & 18491 deletions

File tree

Some content is hidden

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

.github/workflows/update-api-docs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ on:
1717
required: false
1818
default: 'latest'
1919

20+
# Needed by peter-evans/create-pull-request (push branch + open PR)
21+
permissions:
22+
contents: write
23+
pull-requests: write
24+
2025
jobs:
2126
regenerate:
2227
runs-on: ubuntu-latest
@@ -36,6 +41,9 @@ jobs:
3641
run: yarn add -D @nativescript/core@$CORE_VERSION
3742
- name: Regenerate API reference
3843
run: yarn generate:api-docs
44+
env:
45+
# Used for the GitHub tree lookup that validates "Defined in" source links
46+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3947
- name: Open PR if the API changed
4048
uses: peter-evans/create-pull-request@v6
4149
with:

0 commit comments

Comments
 (0)