Skip to content

Commit

Permalink
Clean up a few .github/actions-scripts/ (#43723)
Browse files Browse the repository at this point in the history
  • Loading branch information
heiskr authored Oct 5, 2023
1 parent 56417e4 commit 1148818
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/open-enterprise-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Check for existing release or deprecation issues
id: existingIssue
run: |
.github/actions-scripts/check-for-enterprise-issues-by-label.js
src/versions/scripts/check-for-enterprise-issues-by-label.js
env:
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/triage-unallowed-contributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
pull_request_target:
paths:
- '.devcontainer/**'
- '.github/actions-scripts/**'
- '.github/workflows/**'
- '.github/CODEOWNERS'
- 'assets/fonts/**'
Expand Down Expand Up @@ -50,7 +49,6 @@ jobs:
- 'src/rest/data/**'
notAllowed:
- '.devcontainer/**'
- '.github/actions-scripts/**'
- '.github/workflows/**'
- '.github/CODEOWNERS'
- 'assets/fonts/**'
Expand All @@ -71,7 +69,6 @@ jobs:
script: |
const badFilesArr = [
'.devcontainer/**',
'.github/actions-scripts/**',
'.github/workflows/**',
'.github/CODEOWNERS',
'assets/fonts/**',
Expand Down
2 changes: 1 addition & 1 deletion script/content-changes-table-comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// [start-readme]
//
// For testing the GitHub Action that executes
// .github/actions-scripts/content-changes-table-comment.js but doing it
// src/workflows/content-changes-table-comment.js but doing it
// locally.
// This is more convenient and faster than relying on seeing that the
// Action produces in a PR. Especially since
Expand Down
2 changes: 1 addition & 1 deletion src/assets/scripts/deleted-assets-pr-comment-1.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// [start-readme]
//
// For testing the GitHub Action that executes
// .github/actions-scripts/deleted-assets-pr-comment.js but doing it
// src/assets/scripts/deleted-assets-pr-comment.js but doing it
// locally.
// This is more convenient and faster than relying on seeing that the
// Action produces in a PR.
Expand Down
11 changes: 1 addition & 10 deletions src/assets/scripts/find-orphaned-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,7 @@ async function main(opts) {
}
}

const roots = [
'tests',
'components',
'script',
'stylesheets',
'contributing',
'src',
'assets',
'.github/actions-scripts',
]
const roots = ['tests', 'components', 'script', 'stylesheets', 'contributing', 'src', 'assets']

for (const root of roots) {
sourceFiles.push(
Expand Down

0 comments on commit 1148818

Please sign in to comment.