Skip to content

Commit

Permalink
Ts links 5 - Audited workflows that don't run themselves on pull requ…
Browse files Browse the repository at this point in the history
…est (#53185)
  • Loading branch information
heiskr authored Nov 19, 2024
1 parent 3c2fc76 commit 0e2ccc3
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/codeowners-content-systems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
paths:
- 'contributing/content-*.md'
- 'content/contributing/**.md'
- .github/workflows/codeowners-content-systems.yml

jobs:
codeowners-content-systems:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeowners-docs-engineering.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ on:
- '.github/**'
- '**Dockerfile'
- 'package*.json'
- .github/workflows/codeowners-docs-engineering.yml

jobs:
codeowners-docs-engineering:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeowners-legal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
- synchronize
paths:
- 'content/**'
- .github/workflows/codeowners-legal.yml

permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/comment-release-note-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- opened
paths:
- data/release-notes/enterprise-server/**
- .github/workflows/comment-release-note-info.yml

permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dont-delete-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
- main
paths:
- 'data/features/**'
- .github/workflows/dont-delete-features.yml

permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/hubber-contribution-help.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
types:
- opened
paths:
- .github/workflows/hubber-contribution-help.yml
- 'content/**'
- 'data/**'

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/orphaned-files-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
pull_request:
paths:
- .github/workflows/orphaned-assets-check.yml
- .github/workflows/orphaned-files-check.yml
# In case any of the dependencies affect the script
- 'package*.json'
- src/assets/scripts/find-orphaned-assets.js
Expand Down Expand Up @@ -96,7 +97,7 @@ jobs:
The first responder should just spot-check some of the unused assets
to make sure they aren't referenced anywhere
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).
EOM
)
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/site-policy-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- closed
paths:
- 'content/site-policy/**'
- '.github/workflows/site-policy-sync.yml'
workflow_dispatch:

permissions:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-changed-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- main
paths:
- 'content/**'
- .github/workflows/test-changed-content.yml

permissions:
contents: read
Expand Down

0 comments on commit 0e2ccc3

Please sign in to comment.