Skip to content

Commit 6226177

Browse files
authored
chore: update ory-prettier-styles (#2749)
1 parent b024e09 commit 6226177

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+2197
-2174
lines changed

.github/codeql/codeql-config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: 'CodeQL config'
1+
name: "CodeQL config"
22

33
queries:
44
- uses: security-and-quality
55

66
paths-ignore:
7-
- '/test/'
8-
- '/internal/testhelpers'
7+
- "/test/"
8+
- "/internal/testhelpers"

.github/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
todo:
2-
keyword: '@todo'
2+
keyword: "@todo"
33
label: todo

.github/workflows/ci.yaml

+15-15
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches:
55
- master
66
tags:
7-
- '*'
7+
- "*"
88
pull_request:
99

1010
# Cancel in-progress runs in current workflow.
@@ -42,14 +42,14 @@ jobs:
4242
ports:
4343
- 3306:3306
4444
env:
45-
TEST_MAILHOG_SMTP: 'smtp://test:[email protected]:1025/?disable_starttls=true'
45+
TEST_MAILHOG_SMTP: "smtp://test:[email protected]:1025/?disable_starttls=true"
4646
TEST_MAILHOG_API: http://127.0.0.1:8025
4747
TEST_SELFSERVICE_OIDC_HYDRA_ADMIN: http://localhost:4445
4848
TEST_SELFSERVICE_OIDC_HYDRA_PUBLIC: http://localhost:4444
4949
TEST_SELFSERVICE_OIDC_HYDRA_INTEGRATION_ADDR: http://127.0.0.1:4499
50-
TEST_DATABASE_POSTGRESQL: 'postgres://test:test@localhost:5432/postgres?sslmode=disable'
51-
TEST_DATABASE_MYSQL: 'mysql://root:test@(localhost:3306)/mysql?parseTime=true&multiStatements=true'
52-
TEST_DATABASE_COCKROACHDB: 'cockroach://root@localhost:26257/defaultdb?sslmode=disable'
50+
TEST_DATABASE_POSTGRESQL: "postgres://test:test@localhost:5432/postgres?sslmode=disable"
51+
TEST_DATABASE_MYSQL: "mysql://root:test@(localhost:3306)/mysql?parseTime=true&multiStatements=true"
52+
TEST_DATABASE_COCKROACHDB: "cockroach://root@localhost:26257/defaultdb?sslmode=disable"
5353
steps:
5454
- run: |
5555
docker create --name cockroach -p 26257:26257 \
@@ -77,7 +77,7 @@ jobs:
7777
fetch-depth: 2
7878
- uses: actions/setup-go@v2
7979
with:
80-
go-version: '~1.18'
80+
go-version: "~1.18"
8181
- run: go list -json > go.list
8282
- name: Run nancy
8383
uses: sonatype-nexus-community/[email protected]
@@ -133,12 +133,12 @@ jobs:
133133
- 4437:4437
134134
- 1025:1025
135135
env:
136-
TEST_DATABASE_POSTGRESQL: 'postgres://test:test@localhost:5432/postgres?sslmode=disable'
137-
TEST_DATABASE_MYSQL: 'mysql://root:test@(localhost:3306)/mysql?parseTime=true&multiStatements=true'
138-
TEST_DATABASE_COCKROACHDB: 'cockroach://root@localhost:26257/defaultdb?sslmode=disable'
136+
TEST_DATABASE_POSTGRESQL: "postgres://test:test@localhost:5432/postgres?sslmode=disable"
137+
TEST_DATABASE_MYSQL: "mysql://root:test@(localhost:3306)/mysql?parseTime=true&multiStatements=true"
138+
TEST_DATABASE_COCKROACHDB: "cockroach://root@localhost:26257/defaultdb?sslmode=disable"
139139
strategy:
140140
matrix:
141-
database: ['postgres', 'cockroach', 'sqlite', 'mysql']
141+
database: ["postgres", "cockroach", "sqlite", "mysql"]
142142
steps:
143143
- run: |
144144
docker create --name cockroach -p 26257:26257 \
@@ -162,7 +162,7 @@ jobs:
162162
- name: Setup Go
163163
uses: actions/setup-go@v2
164164
with:
165-
go-version: '~1.18'
165+
go-version: "~1.18"
166166
- name: Install selfservice-ui-react-native
167167
uses: actions/checkout@v2
168168
with:
@@ -202,7 +202,7 @@ jobs:
202202
- uses: ory/ci/docs/cli-next@master
203203
with:
204204
token: ${{ secrets.ORY_BOT_PAT }}
205-
arg: '.'
205+
arg: "."
206206
output-dir: docs/kratos
207207

208208
changelog:
@@ -230,7 +230,7 @@ jobs:
230230
- uses: ory/ci/sdk/release@master
231231
with:
232232
token: ${{ secrets.ORY_BOT_PAT }}
233-
swag-spec-location: 'spec/api.json'
233+
swag-spec-location: "spec/api.json"
234234

235235
release:
236236
name: Generate release
@@ -273,7 +273,7 @@ jobs:
273273
mailchimp_list_id: f605a41b53
274274
mailchmip_segment_id: 6479477
275275
mailchimp_api_key: ${{ secrets.MAILCHIMP_API_KEY }}
276-
draft: 'true'
276+
draft: "true"
277277
ssh_key: ${{ secrets.ORY_BOT_SSH_KEY }}
278278

279279
slack-approval-notification:
@@ -300,5 +300,5 @@ jobs:
300300
mailchimp_list_id: f605a41b53
301301
mailchmip_segment_id: 6479477
302302
mailchimp_api_key: ${{ secrets.MAILCHIMP_API_KEY }}
303-
draft: 'false'
303+
draft: "false"
304304
ssh_key: ${{ secrets.ORY_BOT_SSH_KEY }}

.github/workflows/closed_references.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: Closed Reference Notifier
22

33
on:
44
schedule:
5-
- cron: '0 0 * * *'
5+
- cron: "0 0 * * *"
66
workflow_dispatch:
77
inputs:
88
issueLimit:
99
description: Max. number of issues to create
1010
required: true
11-
default: '5'
11+
default: "5"
1212

1313
jobs:
1414
find_closed_references:
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v2
2020
- uses: actions/setup-node@v2-beta
2121
with:
22-
node-version: '14'
22+
node-version: "14"
2323
- uses: ory/closed-reference-notifier@v1
2424
with:
2525
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/codeql-analysis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# the `language` matrix defined below to confirm you have the correct set of
1010
# supported CodeQL languages.
1111
#
12-
name: 'CodeQL'
12+
name: "CodeQL"
1313

1414
on:
1515
push:
@@ -18,7 +18,7 @@ on:
1818
# The branches below must be a subset of the branches above
1919
branches: [master]
2020
schedule:
21-
- cron: '26 21 * * 3'
21+
- cron: "26 21 * * 3"
2222

2323
jobs:
2424
analyze:
@@ -28,7 +28,7 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
language: ['go', 'javascript']
31+
language: ["go", "javascript"]
3232
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3333
# Learn more:
3434
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

.github/workflows/cve-scan.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: Docker Image Scanners
22
on:
33
push:
44
branches:
5-
- 'master'
5+
- "master"
66
tags:
7-
- 'v*.*.*'
7+
- "v*.*.*"
88
pull_request:
99
branches:
10-
- 'master'
10+
- "master"
1111

1212
jobs:
1313
scanners:
@@ -50,11 +50,11 @@ jobs:
5050
if: ${{ always() }}
5151
with:
5252
image-ref: oryd/kratos:${{ steps.vars.outputs.sha_short }}
53-
format: 'table'
54-
exit-code: '42'
53+
format: "table"
54+
exit-code: "42"
5555
ignore-unfixed: true
56-
vuln-type: 'os,library'
57-
severity: 'CRITICAL,HIGH'
56+
vuln-type: "os,library"
57+
severity: "CRITICAL,HIGH"
5858
- name: Dockle Linter
5959
uses: erzz/[email protected]
6060
if: ${{ always() }}

.github/workflows/milestone.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Generate and Publish Milestone Document
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: '0 0 * * *'
6+
- cron: "0 0 * * *"
77

88
jobs:
99
milestone:
@@ -23,8 +23,8 @@ jobs:
2323
- name: Commit Milestone Documentation
2424
uses: EndBug/[email protected]
2525
with:
26-
message: 'autogen(docs): update milestone document'
26+
message: "autogen(docs): update milestone document"
2727
author_name: aeneasr
28-
author_email: '[email protected]'
28+
author_email: "[email protected]"
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.TOKEN_PRIVILEGED }}

.github/workflows/stale.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: 'Close Stale Issues'
1+
name: "Close Stale Issues"
22
on:
33
workflow_dispatch:
44
schedule:
5-
- cron: '0 0 * * *'
5+
- cron: "0 0 * * *"
66

77
jobs:
88
stale:
@@ -35,10 +35,10 @@ jobs:
3535
Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you!
3636
3737
Thank you 🙏✌️
38-
stale-issue-label: 'stale'
39-
exempt-issue-labels: 'bug,blocking,docs,backlog'
38+
stale-issue-label: "stale"
39+
exempt-issue-labels: "bug,blocking,docs,backlog"
4040
days-before-stale: 365
4141
days-before-close: 30
4242
exempt-milestones: true
4343
exempt-assignees: true
44-
only-pr-labels: 'stale'
44+
only-pr-labels: "stale"

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.schema/
2+
.github/ISSUE_TEMPLATE

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ quickstart-dev:
138138
format: .bin/goimports node_modules
139139
goimports -w -local github.com/ory .
140140
npm exec -- prettier --write 'test/e2e/**/*{.ts,.js}'
141+
npm exec -- prettier --write '.github'
141142

142143
# Build local docker image
143144
.PHONY: docker

internal/httpclient/api_metadata.go

+14-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)