Skip to content

Commit bb58d3e

Browse files
Faraz KhanFaraz Khan
Faraz Khan
authored and
Faraz Khan
committed
Re-add workflows
1 parent 733c080 commit bb58d3e

File tree

568 files changed

+211134
-0
lines changed

Some content is hidden

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

568 files changed

+211134
-0
lines changed

.github/workflows/sdk_generation.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Generate
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
"on":
8+
workflow_dispatch:
9+
inputs:
10+
force:
11+
description: Force generation of SDKs
12+
type: boolean
13+
default: false
14+
set_version:
15+
description: optionally set a specific SDK version
16+
type: string
17+
schedule:
18+
- cron: 0 0 * * *
19+
jobs:
20+
generate:
21+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
22+
with:
23+
force: ${{ github.event.inputs.force }}
24+
mode: pr
25+
set_version: ${{ github.event.inputs.set_version }}
26+
speakeasy_version: latest
27+
secrets:
28+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
29+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.rubocop.yml

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
AllCops:
2+
Exclude:
3+
- Rakefile
4+
TargetRubyVersion: "3.0"
5+
Metrics:
6+
Enabled: false
7+
Style/IfInsideElse:
8+
Enabled: false
9+
# Temporary until Ruby deals with empty responses correctly
10+
Style/EmptyElse:
11+
Enabled: false
12+
Style/GuardClause:
13+
Enabled: false
14+
Style/ConditionalAssignment:
15+
Enabled: false
16+
Style/Documentation:
17+
Enabled: false
18+
Style/NegatedIf:
19+
Enabled: false
20+
Style/SoleNestedConditional:
21+
Enabled: false
22+
Style/AccessorGrouping:
23+
Enabled: false
24+
Layout/EndAlignment:
25+
EnforcedStyleAlignWith: start_of_line
26+
Enabled: false
27+
Layout/LineLength:
28+
Enabled: false
29+
Lint/EmptyConditionalBody:
30+
Enabled: false
31+
Lint/MissingSuper:
32+
Enabled: false
33+
Style/CaseLikeIf:
34+
Enabled: false
35+
#To eventually re-enable:
36+
Layout/EmptyLines:
37+
Enabled: false
38+
Layout/EmptyLinesAroundMethodBody:
39+
Enabled: false
40+
Layout/EmptyLineBetweenDefs:
41+
Enabled: false
42+
Layout/EmptyLineAfterGuardClause:
43+
Enabled: false
44+
Layout/EmptyLinesAroundModuleBody:
45+
Enabled: false
46+
Layout/MultilineBlockLayout:
47+
Enabled: false
48+
Lint/UnusedMethodArgument:
49+
Enabled: false
50+
Layout/TrailingWhitespace:
51+
Enabled: false
52+
Style/IfUnlessModifier:
53+
Enabled: false
54+
Naming/AccessorMethodName:
55+
Enabled: false
56+
Naming/MethodParameterName:
57+
Enabled: false
58+
Layout/SpaceInsideHashLiteralBraces:
59+
Enabled: false
60+
Layout/FirstHashElementIndentation:
61+
Enabled: false
62+
Style/TrailingCommaInHashLiteral:
63+
Enabled: false
64+
Style/TrailingCommaInArrayLiteral:
65+
Enabled: false
66+
Layout/EmptyLinesAroundClassBody:
67+
Enabled: false
68+
Style/WordArray:
69+
Enabled: false
70+
Style/RedundantReturn: # https://github.com/rubocop/rubocop/issues/12394
71+
Enabled: false
72+
Style/RedundantAssignment:
73+
Enabled: false
74+
Lint/LiteralAsCondition:
75+
Enabled: false
76+
Naming/VariableNumber:
77+
Enabled: false

0 commit comments

Comments
 (0)