Skip to content

Commit

Permalink
[Docs Site] format yaml files (cloudflare#16840)
Browse files Browse the repository at this point in the history
* chore: format yml

* chore: merge fixups

* chore: merge fixups

---------

Co-authored-by: kodster28 <[email protected]>
  • Loading branch information
Cherry and kodster28 authored Sep 17, 2024
1 parent 7791799 commit 9b8d922
Show file tree
Hide file tree
Showing 112 changed files with 4,324 additions and 4,314 deletions.
4 changes: 2 additions & 2 deletions .gitguardian.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: 2
secret:
ignored-paths:
- 'assets/search.ts'
- 'data/*.yml'
- "assets/search.ts"
- "data/*.yml"
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Issue with your website
url: https://developers.cloudflare.com/support/contacting-cloudflare-support/#methods-of-contacting-cloudflare-support
url: https://developers.cloudflare.com/support/contacting-cloudflare-support/#methods-of-contacting-cloudflare-support
about: If you need support with your website or Cloudflare applications, please contact Cloudflare through the relevant support channel.
- name: Issue with Cloudflare 5XX errors
url: https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#troubleshooting-cloudflare-5xx-errors--cloudflare-help-center
url: https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#troubleshooting-cloudflare-5xx-errors--cloudflare-help-center
about: If you are encountering a Cloudflare 5XX error, please read our troubleshooting documentation for 5XX errors.
- name: Issue with Cloudflare Workers
url: https://github.com/cloudflare/workers-sdk/issues/new/choose
url: https://github.com/cloudflare/workers-sdk/issues/new/choose
about: Issues relating to Cloudflare Workers should be made in the workers-sdk repo.
10 changes: 5 additions & 5 deletions .github/actions/assign-issue/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 'Assign Issue Owner'
description: 'Assign the issue to its product content owner.'
name: "Assign Issue Owner"
description: "Assign the issue to its product content owner."

inputs:
GITHUB_TOKEN:
description: 'token for repository access'
description: "token for repository access"
required: true

runs:
using: 'node16'
main: 'index.js'
using: "node16"
main: "index.js"
10 changes: 5 additions & 5 deletions .github/actions/assign-pr/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 'Assign PR Owner'
description: 'Assign the PR to its product content owner.'
name: "Assign PR Owner"
description: "Assign the PR to its product content owner."

inputs:
GITHUB_TOKEN:
description: 'token for repository access'
description: "token for repository access"
required: true

runs:
using: 'node16'
main: 'index.js'
using: "node16"
main: "index.js"
10 changes: 5 additions & 5 deletions .github/actions/label-products/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 'Label products'
description: 'Apply labels based on the product folders touched.'
name: "Label products"
description: "Apply labels based on the product folders touched."

inputs:
GITHUB_TOKEN:
description: 'token for repository access'
description: "token for repository access"
required: true

runs:
using: 'node16'
main: 'index.js'
using: "node16"
main: "index.js"
10 changes: 5 additions & 5 deletions .github/actions/label-size/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 'Label size'
description: 'Apply labels based on the size of the PR'
name: "Label size"
description: "Apply labels based on the size of the PR"

inputs:
GITHUB_TOKEN:
description: 'token for repository access'
description: "token for repository access"
required: true

runs:
using: 'node16'
main: 'index.js'
using: "node16"
main: "index.js"
10 changes: 5 additions & 5 deletions .github/actions/show-changed-files/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 'Show changed files'
description: 'Comment on the PR with before and after links to help isolate and review changes'
name: "Show changed files"
description: "Comment on the PR with before and after links to help isolate and review changes"

inputs:
GITHUB_TOKEN:
description: 'token for repository access'
description: "token for repository access"
required: true

runs:
using: 'node16'
main: 'index.js'
using: "node16"
main: "index.js"
1 change: 0 additions & 1 deletion .github/styles/cloudflare/InclusiveLanguage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ swap:
hers: their
sanity (?:check|test): check for completeness
dummy: placeholder, sample, fake

2 changes: 1 addition & 1 deletion .github/styles/cloudflare/MergeConflictMarkers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ message: "Merge conflict marker '%s' found. [Address the merge conflict](https:/
level: error
scope: raw
raw:
- '\n<<<<<<< .+\n|\n=======\n|\n>>>>>>> .+\n'
- '\n<<<<<<< .+\n|\n=======\n|\n>>>>>>> .+\n'
2 changes: 1 addition & 1 deletion .github/styles/cloudflare/Repetition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ message: "**Warning**: Remove this duplicate word: '%s'."
level: warning
alpha: true
tokens:
- '[^\s]+'
- '[^\s]+'
3 changes: 1 addition & 2 deletions .github/workflows/anchor-link-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Anchor link audit

on:
schedule:
- cron: "0 0 * * 0" # Run at 00:00 UTC every Sunday
- cron: "0 0 * * 0" # Run at 00:00 UTC every Sunday
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -40,7 +40,6 @@ jobs:
env:
NODE_OPTIONS: "--max-old-space-size=4192"


- name: Install dependencies
run: curl https://htmltest.wjdp.uk | bash

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/api-links-crawl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Crawl API docs links

on:
schedule:
- cron: "0 0 * * 0" # Run at 00:00 UTC every Sunday
- cron: "0 0 * * 0" # Run at 00:00 UTC every Sunday
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -51,6 +51,3 @@ jobs:
-H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/cloudflare/cloudflare-docs/issues" \
-d "{\"title\": \"Broken API docs links\", \"body\": \"The following API doc links are broken: ${EXPORTED_VARIABLE}\", \"assignees\": [\"kodster28\", \"haleycode\"]}"
1 change: 0 additions & 1 deletion .github/workflows/comment-changed-filenames.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ concurrency:
cancel-in-progress: true

jobs:

flag_changed_filenames:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'tools/go.mod'
go-version-file: "tools/go.mod"
- run: make tools
- name: Set the issue number to sync
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/assign-issue
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ concurrency:
cancel-in-progress: true

jobs:

label_products:
name: Label products
runs-on: ubuntu-latest
Expand All @@ -30,4 +29,4 @@ jobs:
- uses: ./.github/actions/label-size
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true
continue-on-error: true
2 changes: 1 addition & 1 deletion .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
issue_comment:
types: [created]
schedule:
- cron: '0 0 * * *' # Runs at 12:00 AM UTC every day
- cron: "0 0 * * *" # Runs at 12:00 AM UTC every day

jobs:
noResponse:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/assign-pr
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/show-changed-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Show Changed Files
# **Who does it impact**: PCX team

on:
issue_comment:
issue_comment:
types:
- created
- edited
Expand Down
4 changes: 2 additions & 2 deletions bin/.htmltest.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
DirectoryPath: "dist"
EnforceHTTPS: false
IgnoreURLs:
- "/api/*"
- "/api/*"
CheckLinks: true
CheckImages: false
CheckScripts: false
CheckGeneric: false
CheckExternal: false
IgnoreInternalEmptyHash: true
IgnoreEmptyHref: true
IgnoreDirectoryMissingTrailingSlash: true
IgnoreDirectoryMissingTrailingSlash: true
Loading

0 comments on commit 9b8d922

Please sign in to comment.