Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: ['andykenward']
github: ["andykenward"]
54 changes: 27 additions & 27 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ updates:
schedule:
interval: weekly
day: sunday
- package-ecosystem: 'devcontainers'
directory: '/'
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
day: sunday
Expand All @@ -25,41 +25,41 @@ updates:
groups:
graphql:
patterns:
- '@graphql-codegen/*'
- '@graphql-typed-document-node/*'
- 'graphql'
- 'graphql-tag'
- "@graphql-codegen/*"
- "@graphql-typed-document-node/*"
- "graphql"
- "graphql-tag"
vitest:
patterns:
- '@vitest*'
- 'vitest'
- 'vite'
- "@vitest*"
- "vitest"
- "vite"
eslint:
patterns:
- '@eslint/*'
- '@types/eslint'
- '@typescript-eslint/*'
- 'eslint'
- 'eslint-config-*'
- 'eslint-plugin-*'
- 'globals'
- 'typescript-eslint'
- "@eslint/*"
- "@types/eslint"
- "@typescript-eslint/*"
- "eslint"
- "eslint-config-*"
- "eslint-plugin-*"
- "globals"
- "typescript-eslint"
exclude-patterns:
- 'eslint-config-prettier'
- "eslint-config-prettier"
prettier:
patterns:
- 'prettier'
- 'eslint-config-prettier'
- '@ianvs/prettier-plugin-sort-imports'
- 'prettier-plugin-packagejson'
- "prettier"
- "eslint-config-prettier"
- "@ianvs/prettier-plugin-sort-imports"
- "prettier-plugin-packagejson"
octokit:
patterns:
- '@octokit/*'
- '@octokit-next/*'
- "@octokit/*"
- "@octokit-next/*"
cloudflare:
patterns:
- '@cloudflare/*'
- 'wrangler'
- "@cloudflare/*"
- "wrangler"
changesets:
patterns:
- '@changesets/*'
- "@changesets/*"
4 changes: 2 additions & 2 deletions .github/workflow-templates/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: 'Checkout Github Action'
- name: "Checkout Github Action"
uses: actions/checkout@v4
- name: 'Deploy deletion from Cloudflare Pages'
- name: "Deploy deletion from Cloudflare Pages"
uses: andykenward/github-actions-cloudflare-pages/delete@v2.3.2
with:
cloudflare-api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflow-templates/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: 'Checkout Github Action'
- name: "Checkout Github Action"
uses: actions/checkout@v4
- name: 'Deploy to Cloudflare Pages'
- name: "Deploy to Cloudflare Pages"
uses: andykenward/github-actions-cloudflare-pages@v3.0.0
with:
cloudflare-api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ on:
branches:
- main
paths-ignore:
- '**.md'
- "**.md"
pull_request:
branches:
- main
paths-ignore:
- '**.md'
- "**.md"
workflow_dispatch:

concurrency:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: 'CodeQL'
name: "CodeQL"
on:
push:
branches: ['main']
branches: ["main"]
pull_request:
branches: ['main']
branches: ["main"]
schedule:
- cron: '34 6 * * 2'
- cron: "34 6 * * 2"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-latest'
runs-on: "ubuntu-latest"
timeout-minutes: 360
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
language: ['javascript-typescript', 'actions']
language: ["javascript-typescript", "actions"]
steps:
- name: Checkout repository
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
Expand All @@ -41,4 +41,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: '/language:${{matrix.language}}'
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion .github/workflows/deploy-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
- id: 'cloudflare-pages'
- id: "cloudflare-pages"
uses: ./delete
with:
cloudflare-api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
workflow_dispatch:
inputs:
environment:
description: 'Environment to run actiomn against'
description: "Environment to run actiomn against"
type: environment
required: false

Expand All @@ -29,7 +29,7 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
- id: 'cloudflare-pages'
- id: "cloudflare-pages"
uses: ./
with:
cloudflare-api-token: ${{secrets.CLOUDFLARE_API_TOKEN}}
Expand All @@ -39,7 +39,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-environment: ${{ inputs.environment || 'preview' }}
working-directory: example
- id: 'cloudflare-pages-delete'
- id: "cloudflare-pages-delete"
uses: ./delete
# if main branch
if: github.ref == 'refs/heads/main'
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name: update
on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -33,14 +33,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e #v7.0.8
uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 #v7.0.9
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore: update payloads'
commit-message: "chore: update payloads"
sign-commits: true
branch: 'chore/update-payloads'
branch: "chore/update-payloads"
delete-branch: true
title: 'chore: update payloads'
title: "chore: update payloads"
body: |
This is an automated PR to update payloads.
types:
Expand All @@ -64,13 +64,13 @@ jobs:
run: pnpm run tsc:types
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e #v7.0.8
uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 #v7.0.9
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore: update types'
commit-message: "chore: update types"
sign-commits: true
branch: 'chore/types'
branch: "chore/types"
delete-branch: true
title: 'chore: update types'
title: "chore: update types"
body: |
This is an automated PR to update generated types.
7 changes: 7 additions & 0 deletions prettier.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ const config = {
options: {
parser: 'typescript'
}
},
{
files: ['.github/**/*.{yml,yaml}'],
options: {
parser: 'yaml',
singleQuote: false
}
}
]
}
Expand Down
Loading