Ts links 5 - Audited workflows that don't run themselves on pull request (#53185)

This commit is contained in:
Kevin Heis 2024-11-19 09:21:58 -08:00 коммит произвёл GitHub
Родитель 3c2fc76273
Коммит 0e2ccc30ad
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
9 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -9,6 +9,7 @@ on:
paths: paths:
- 'contributing/content-*.md' - 'contributing/content-*.md'
- 'content/contributing/**.md' - 'content/contributing/**.md'
- .github/workflows/codeowners-content-systems.yml
jobs: jobs:
codeowners-content-systems: codeowners-content-systems:

Просмотреть файл

@ -25,6 +25,7 @@ on:
- '.github/**' - '.github/**'
- '**Dockerfile' - '**Dockerfile'
- 'package*.json' - 'package*.json'
- .github/workflows/codeowners-docs-engineering.yml
jobs: jobs:
codeowners-docs-engineering: codeowners-docs-engineering:

1
.github/workflows/codeowners-legal.yml поставляемый
Просмотреть файл

@ -15,6 +15,7 @@ on:
- synchronize - synchronize
paths: paths:
- 'content/**' - 'content/**'
- .github/workflows/codeowners-legal.yml
permissions: permissions:
contents: read contents: read

Просмотреть файл

@ -8,6 +8,7 @@ on:
- opened - opened
paths: paths:
- data/release-notes/enterprise-server/** - data/release-notes/enterprise-server/**
- .github/workflows/comment-release-note-info.yml
permissions: permissions:
contents: read contents: read

1
.github/workflows/dont-delete-features.yml поставляемый
Просмотреть файл

@ -17,6 +17,7 @@ on:
- main - main
paths: paths:
- 'data/features/**' - 'data/features/**'
- .github/workflows/dont-delete-features.yml
permissions: permissions:
contents: read contents: read

Просмотреть файл

@ -9,6 +9,7 @@ on:
types: types:
- opened - opened
paths: paths:
- .github/workflows/hubber-contribution-help.yml
- 'content/**' - 'content/**'
- 'data/**' - 'data/**'

3
.github/workflows/orphaned-files-check.yml поставляемый
Просмотреть файл

@ -11,6 +11,7 @@ on:
pull_request: pull_request:
paths: paths:
- .github/workflows/orphaned-assets-check.yml - .github/workflows/orphaned-assets-check.yml
- .github/workflows/orphaned-files-check.yml
# In case any of the dependencies affect the script # In case any of the dependencies affect the script
- 'package*.json' - 'package*.json'
- src/assets/scripts/find-orphaned-assets.js - src/assets/scripts/find-orphaned-assets.js
@ -96,7 +97,7 @@ jobs:
The first responder should just spot-check some of the unused assets The first responder should just spot-check some of the unused assets
to make sure they aren't referenced anywhere to make sure they aren't referenced anywhere
and then approve and merge the pull request. and then approve and merge the pull request.
For more information, see [Doc: Orphaned Assets](https://github.com/github/docs-engineering/blob/main/docs/orphaned-assets.md) For more information, see [Doc: Orphaned Assets](https://github.com/github/docs-engineering/blob/main/docs/orphaned-assets.md)
and [Doc: Reusables CLI](https://github.com/github/docs-internal/tree/main/src/content-render/scripts/reusables-cli). and [Doc: Reusables CLI](https://github.com/github/docs-internal/tree/main/src/content-render/scripts/reusables-cli).
EOM EOM
) )

1
.github/workflows/site-policy-sync.yml поставляемый
Просмотреть файл

@ -14,6 +14,7 @@ on:
- closed - closed
paths: paths:
- 'content/site-policy/**' - 'content/site-policy/**'
- '.github/workflows/site-policy-sync.yml'
workflow_dispatch: workflow_dispatch:
permissions: permissions:

1
.github/workflows/test-changed-content.yml поставляемый
Просмотреть файл

@ -14,6 +14,7 @@ on:
- main - main
paths: paths:
- 'content/**' - 'content/**'
- .github/workflows/test-changed-content.yml
permissions: permissions:
contents: read contents: read