Skip to content

Commit

Permalink
Re-add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Faraz Khan authored and Faraz Khan committed Oct 1, 2024
1 parent 733c080 commit bb58d3e
Show file tree
Hide file tree
Showing 568 changed files with 211,134 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/sdk_generation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Generate
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
"on":
workflow_dispatch:
inputs:
force:
description: Force generation of SDKs
type: boolean
default: false
set_version:
description: optionally set a specific SDK version
type: string
schedule:
- cron: 0 0 * * *
jobs:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with:
force: ${{ github.event.inputs.force }}
mode: pr
set_version: ${{ github.event.inputs.set_version }}
speakeasy_version: latest
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
77 changes: 77 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
AllCops:
Exclude:
- Rakefile
TargetRubyVersion: "3.0"
Metrics:
Enabled: false
Style/IfInsideElse:
Enabled: false
# Temporary until Ruby deals with empty responses correctly
Style/EmptyElse:
Enabled: false
Style/GuardClause:
Enabled: false
Style/ConditionalAssignment:
Enabled: false
Style/Documentation:
Enabled: false
Style/NegatedIf:
Enabled: false
Style/SoleNestedConditional:
Enabled: false
Style/AccessorGrouping:
Enabled: false
Layout/EndAlignment:
EnforcedStyleAlignWith: start_of_line
Enabled: false
Layout/LineLength:
Enabled: false
Lint/EmptyConditionalBody:
Enabled: false
Lint/MissingSuper:
Enabled: false
Style/CaseLikeIf:
Enabled: false
#To eventually re-enable:
Layout/EmptyLines:
Enabled: false
Layout/EmptyLinesAroundMethodBody:
Enabled: false
Layout/EmptyLineBetweenDefs:
Enabled: false
Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/EmptyLinesAroundModuleBody:
Enabled: false
Layout/MultilineBlockLayout:
Enabled: false
Lint/UnusedMethodArgument:
Enabled: false
Layout/TrailingWhitespace:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Naming/AccessorMethodName:
Enabled: false
Naming/MethodParameterName:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
Enabled: false
Layout/FirstHashElementIndentation:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false
Layout/EmptyLinesAroundClassBody:
Enabled: false
Style/WordArray:
Enabled: false
Style/RedundantReturn: # https://github.com/rubocop/rubocop/issues/12394
Enabled: false
Style/RedundantAssignment:
Enabled: false
Lint/LiteralAsCondition:
Enabled: false
Naming/VariableNumber:
Enabled: false
Loading

0 comments on commit bb58d3e

Please sign in to comment.