зеркало из https://github.com/github/docs.git
Ts links 4 - more adjustments to link scripts in workflows (#53184)
This commit is contained in:
Родитель
df949379e3
Коммит
3c2fc76273
|
@ -17,6 +17,7 @@ on:
|
|||
- main
|
||||
paths:
|
||||
- 'assets/**'
|
||||
- '.github/workflows/dont-delete-assets.yml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
@ -37,7 +38,7 @@ jobs:
|
|||
id: comment
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: src/assets/scripts/deleted-assets-pr-comment.js
|
||||
run: npm run deleted-assets-pr-comment
|
||||
|
||||
- name: Find possible previous comment
|
||||
if: ${{ steps.comment.outputs.markdown != '' }}
|
||||
|
|
|
@ -9,6 +9,7 @@ on:
|
|||
pull_request:
|
||||
paths:
|
||||
- 'assets/**'
|
||||
- '.github/workflows/validate-asset-images.yml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
@ -24,4 +25,4 @@ jobs:
|
|||
- uses: ./.github/actions/node-npm-setup
|
||||
|
||||
- name: Validate all asset images
|
||||
run: tsx src/assets/scripts/validate-asset-images.ts
|
||||
run: npm run validate-asset-images
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
"create-acr-token": "tsx src/workflows/acr-create-token.js",
|
||||
"debug": "cross-env NODE_ENV=development ENABLED_LANGUAGES=en nodemon --inspect src/frame/server.ts",
|
||||
"delete-orphan-translation-files": "tsx src/workflows/delete-orphan-translation-files.ts",
|
||||
"deleted-assets-pr-comment": "tsx src/assets/scripts/deleted-assets-pr-comment.ts",
|
||||
"deleted-features-pr-comment": "tsx src/data-directory/scripts/deleted-features-pr-comment.ts",
|
||||
"dev": "cross-env npm start",
|
||||
"find-orphaned-assets": "tsx src/assets/scripts/find-orphaned-assets.ts",
|
||||
|
|
Загрузка…
Ссылка в новой задаче