Skip to content

Commit

Permalink
chore: update ory-prettier-styles (ory#2749)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo authored Sep 22, 2022
1 parent b024e09 commit 6226177
Show file tree
Hide file tree
Showing 73 changed files with 2,197 additions and 2,174 deletions.
6 changes: 3 additions & 3 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: 'CodeQL config'
name: "CodeQL config"

queries:
- uses: security-and-quality

paths-ignore:
- '/test/'
- '/internal/testhelpers'
- "/test/"
- "/internal/testhelpers"
2 changes: 1 addition & 1 deletion .github/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
todo:
keyword: '@todo'
keyword: "@todo"
label: todo
30 changes: 15 additions & 15 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- master
tags:
- '*'
- "*"
pull_request:

# Cancel in-progress runs in current workflow.
Expand Down Expand Up @@ -42,14 +42,14 @@ jobs:
ports:
- 3306:3306
env:
TEST_MAILHOG_SMTP: 'smtp://test:[email protected]:1025/?disable_starttls=true'
TEST_MAILHOG_SMTP: "smtp://test:[email protected]:1025/?disable_starttls=true"
TEST_MAILHOG_API: http://127.0.0.1:8025
TEST_SELFSERVICE_OIDC_HYDRA_ADMIN: http://localhost:4445
TEST_SELFSERVICE_OIDC_HYDRA_PUBLIC: http://localhost:4444
TEST_SELFSERVICE_OIDC_HYDRA_INTEGRATION_ADDR: http://127.0.0.1:4499
TEST_DATABASE_POSTGRESQL: 'postgres://test:test@localhost:5432/postgres?sslmode=disable'
TEST_DATABASE_MYSQL: 'mysql://root:test@(localhost:3306)/mysql?parseTime=true&multiStatements=true'
TEST_DATABASE_COCKROACHDB: 'cockroach://root@localhost:26257/defaultdb?sslmode=disable'
TEST_DATABASE_POSTGRESQL: "postgres://test:test@localhost:5432/postgres?sslmode=disable"
TEST_DATABASE_MYSQL: "mysql://root:test@(localhost:3306)/mysql?parseTime=true&multiStatements=true"
TEST_DATABASE_COCKROACHDB: "cockroach://root@localhost:26257/defaultdb?sslmode=disable"
steps:
- run: |
docker create --name cockroach -p 26257:26257 \
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-go@v2
with:
go-version: '~1.18'
go-version: "~1.18"
- run: go list -json > go.list
- name: Run nancy
uses: sonatype-nexus-community/[email protected]
Expand Down Expand Up @@ -133,12 +133,12 @@ jobs:
- 4437:4437
- 1025:1025
env:
TEST_DATABASE_POSTGRESQL: 'postgres://test:test@localhost:5432/postgres?sslmode=disable'
TEST_DATABASE_MYSQL: 'mysql://root:test@(localhost:3306)/mysql?parseTime=true&multiStatements=true'
TEST_DATABASE_COCKROACHDB: 'cockroach://root@localhost:26257/defaultdb?sslmode=disable'
TEST_DATABASE_POSTGRESQL: "postgres://test:test@localhost:5432/postgres?sslmode=disable"
TEST_DATABASE_MYSQL: "mysql://root:test@(localhost:3306)/mysql?parseTime=true&multiStatements=true"
TEST_DATABASE_COCKROACHDB: "cockroach://root@localhost:26257/defaultdb?sslmode=disable"
strategy:
matrix:
database: ['postgres', 'cockroach', 'sqlite', 'mysql']
database: ["postgres", "cockroach", "sqlite", "mysql"]
steps:
- run: |
docker create --name cockroach -p 26257:26257 \
Expand All @@ -162,7 +162,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '~1.18'
go-version: "~1.18"
- name: Install selfservice-ui-react-native
uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
- uses: ory/ci/docs/cli-next@master
with:
token: ${{ secrets.ORY_BOT_PAT }}
arg: '.'
arg: "."
output-dir: docs/kratos

changelog:
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
- uses: ory/ci/sdk/release@master
with:
token: ${{ secrets.ORY_BOT_PAT }}
swag-spec-location: 'spec/api.json'
swag-spec-location: "spec/api.json"

release:
name: Generate release
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
mailchimp_list_id: f605a41b53
mailchmip_segment_id: 6479477
mailchimp_api_key: ${{ secrets.MAILCHIMP_API_KEY }}
draft: 'true'
draft: "true"
ssh_key: ${{ secrets.ORY_BOT_SSH_KEY }}

slack-approval-notification:
Expand All @@ -300,5 +300,5 @@ jobs:
mailchimp_list_id: f605a41b53
mailchmip_segment_id: 6479477
mailchimp_api_key: ${{ secrets.MAILCHIMP_API_KEY }}
draft: 'false'
draft: "false"
ssh_key: ${{ secrets.ORY_BOT_SSH_KEY }}
6 changes: 3 additions & 3 deletions .github/workflows/closed_references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Closed Reference Notifier

on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
issueLimit:
description: Max. number of issues to create
required: true
default: '5'
default: "5"

jobs:
find_closed_references:
Expand All @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '14'
node-version: "14"
- uses: ory/closed-reference-notifier@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: 'CodeQL'
name: "CodeQL"

on:
push:
Expand All @@ -18,7 +18,7 @@ on:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: '26 21 * * 3'
- cron: "26 21 * * 3"

jobs:
analyze:
Expand All @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ['go', 'javascript']
language: ["go", "javascript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# 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
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/cve-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: Docker Image Scanners
on:
push:
branches:
- 'master'
- "master"
tags:
- 'v*.*.*'
- "v*.*.*"
pull_request:
branches:
- 'master'
- "master"

jobs:
scanners:
Expand Down Expand Up @@ -50,11 +50,11 @@ jobs:
if: ${{ always() }}
with:
image-ref: oryd/kratos:${{ steps.vars.outputs.sha_short }}
format: 'table'
exit-code: '42'
format: "table"
exit-code: "42"
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
vuln-type: "os,library"
severity: "CRITICAL,HIGH"
- name: Dockle Linter
uses: erzz/[email protected]
if: ${{ always() }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/milestone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Generate and Publish Milestone Document
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"

jobs:
milestone:
Expand All @@ -23,8 +23,8 @@ jobs:
- name: Commit Milestone Documentation
uses: EndBug/[email protected]
with:
message: 'autogen(docs): update milestone document'
message: "autogen(docs): update milestone document"
author_name: aeneasr
author_email: '[email protected]'
author_email: "[email protected]"
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_PRIVILEGED }}
10 changes: 5 additions & 5 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: 'Close Stale Issues'
name: "Close Stale Issues"
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"

jobs:
stale:
Expand Down Expand Up @@ -35,10 +35,10 @@ jobs:
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!
Thank you 🙏✌️
stale-issue-label: 'stale'
exempt-issue-labels: 'bug,blocking,docs,backlog'
stale-issue-label: "stale"
exempt-issue-labels: "bug,blocking,docs,backlog"
days-before-stale: 365
days-before-close: 30
exempt-milestones: true
exempt-assignees: true
only-pr-labels: 'stale'
only-pr-labels: "stale"
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.schema/
.github/ISSUE_TEMPLATE
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ quickstart-dev:
format: .bin/goimports node_modules
goimports -w -local github.com/ory .
npm exec -- prettier --write 'test/e2e/**/*{.ts,.js}'
npm exec -- prettier --write '.github'

# Build local docker image
.PHONY: docker
Expand Down
26 changes: 14 additions & 12 deletions internal/httpclient/api_metadata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6226177

Please sign in to comment.