File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 steps :
2121 - name : Generate access token
2222 id : generate-token
23- uses : actions/create-github-app-token@v2
23+ uses : actions/create-github-app-token@v3
2424 with :
25- app -id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
25+ client -id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
2626 private-key : ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }}
2727 owner : OAI
2828 repositories : spec.openapis.org
Original file line number Diff line number Diff line change 2323 steps :
2424 - name : Generate access token
2525 id : generate-token
26- uses : actions/create-github-app-token@v2
26+ uses : actions/create-github-app-token@v3
2727 with :
28- app -id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
28+ client -id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
2929 private-key : ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }}
3030 owner : OAI
3131 repositories : spec.openapis.org
Original file line number Diff line number Diff line change 2020 steps :
2121 - name : Generate access token
2222 id : generate-token
23- uses : actions/create-github-app-token@v2
23+ uses : actions/create-github-app-token@v3
2424 with :
25- app -id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
25+ client -id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
2626 private-key : ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }}
2727
2828 - name : Checkout repository
Original file line number Diff line number Diff line change 2020 steps :
2121 - name : Generate access token
2222 id : generate-token
23- uses : actions/create-github-app-token@v2
23+ uses : actions/create-github-app-token@v3
2424 with :
25- app -id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
25+ client -id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }}
2626 private-key : ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }}
2727
2828 - name : Checkout repository
Original file line number Diff line number Diff line change 1919
2020 - uses : actions/setup-node@v6 # setup Node.js
2121 with :
22- node-version : " 20 .x"
22+ node-version : " 24 .x"
2323
2424 - name : Lint work-in-progress spec
2525 run : npx --yes markdownlint-cli2 --config spec.markdownlint.yaml src/oas.md
3636 echo "PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome" >> $GITHUB_ENV
3737
3838 - name : Check links in markdown files
39- uses : umbrelladocs/action-linkspector@v1
40- with :
41- reporter : github-check
42- fail_level : any
43- filter_mode : file
39+ # uses: umbrelladocs/action-linkspector@v1
40+ # with:
41+ # reporter: github-check
42+ # fail_level: any
43+ # filter_mode: file
44+ run : |
45+ npm ci
46+ npx linkspector --version
47+ npx linkspector check
Original file line number Diff line number Diff line change @@ -14,3 +14,5 @@ ignorePatterns:
1414 - pattern : ' clientdomain.com'
1515 - pattern : ' example.org'
1616 - pattern : ' https://www.w3.org/TR/xml-names11/'
17+ - pattern : ' https://www.npmjs.com/package/markdownlint'
18+ - pattern : ' https://www.merriam-webster.com/dictionary/'
You can’t perform that action at this time.
0 commit comments