Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
0f0baf8
Squashed commit of the following:
andrii-balitskyi Mar 22, 2024
9126e90
ci: Generate code
seambot Mar 22, 2024
101af1a
Revert some deleted files
andrii-balitskyi Mar 22, 2024
7d18ecc
Remove generated folder
andrii-balitskyi Mar 22, 2024
364a91c
ci: Generate code
seambot Mar 22, 2024
5052b70
Run tests on push
andrii-balitskyi Mar 22, 2024
8f42aaf
Fix tests/workspaces/test_workspaces_create.py
andrii-balitskyi Mar 22, 2024
e65ff45
Update automerge workflow
andrii-balitskyi Mar 27, 2024
ac375e0
ci: Generate code
seambot Mar 27, 2024
56fe127
Add missing line endings
andrii-balitskyi Mar 27, 2024
e1050c8
Set the package to be private and update homepage link
andrii-balitskyi Mar 27, 2024
08d3127
Fix webhooks test
andrii-balitskyi Mar 27, 2024
32fdb8f
Enforce keyword arguments for all methods
andrii-balitskyi Mar 28, 2024
acbdd80
Fix connect webview test
andrii-balitskyi Mar 28, 2024
cec8e8e
Fix noise threshold test
andrii-balitskyi Mar 28, 2024
36f1d1c
Fix thermostat test
andrii-balitskyi Mar 28, 2024
89156fd
Remove .npmrc
andrii-balitskyi Mar 28, 2024
ff09a87
ci: Generate code
seambot Mar 28, 2024
2e068b9
Temporarily fix /test_workspaces_create
andrii-balitskyi Mar 29, 2024
79dc333
ci: Generate code
seambot Mar 29, 2024
06d2503
Update comment
andrii-balitskyi Mar 29, 2024
ae69739
Remove sentry
andrii-balitskyi Apr 1, 2024
9b3665a
Update black
andrii-balitskyi Apr 1, 2024
7ddf0bc
ci: Generate code
seambot Apr 1, 2024
a99dedb
Update sdk generator
andrii-balitskyi Apr 1, 2024
11488ca
Generate
andrii-balitskyi Apr 1, 2024
50e4f72
Change generator's registry to npm
andrii-balitskyi Apr 1, 2024
97f6e92
Make python min version 3.8
andrii-balitskyi Apr 2, 2024
7321ee7
Update black
andrii-balitskyi Apr 2, 2024
539c3f3
ci: Generate code
seambot Apr 2, 2024
5a759ec
Update dataclasses-json
andrii-balitskyi Apr 2, 2024
96d9545
Update pytest
andrii-balitskyi Apr 2, 2024
857558b
Update python-dotenv
andrii-balitskyi Apr 2, 2024
5450031
Update poetry.lock
andrii-balitskyi Apr 2, 2024
c469a99
Update responses
andrii-balitskyi Apr 2, 2024
364f74c
Remove testcontainers and responses
andrii-balitskyi Apr 2, 2024
f6c7cdb
Update generator and generate: don't poll action attempt by default
andrii-balitskyi Apr 2, 2024
ead784c
ci: Generate code
seambot Apr 2, 2024
adc5fb9
Update generator and generate: fix list types
andrii-balitskyi Apr 2, 2024
0bcfb5b
ci: Generate code
seambot Apr 2, 2024
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
seamapi/** linguist-generated
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
target-branch: "main"
versioning-strategy: "auto"
allow:
- dependency-name: "@seamapi/*"
dependency-type: "development"
ignore:
- dependency-name: "@seamapi/*"
update-types: ["version-update:semver-major"]
groups:
seam:
dependency-type: development
update-types:
- patch
- minor
25 changes: 25 additions & 0 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Automerge

on:
pull_request:
branches:
- main

jobs:
merge:
name: Merge #${{ number }}
runs-on: ubuntu-latest
timeout-minutes: 30
if: github.actor == 'dependabot[bot]'
steps:
- name: Approve pull request
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Merge pull request
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
46 changes: 46 additions & 0 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: Generate

on:
push:
branches-ignore:
- main
workflow_dispatch: {}

jobs:
commit:
name: Generate code
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
git_user_signingkey: true
git_commit_gpgsign: true
git_committer_name: ${{ secrets.GIT_USER_NAME }}
git_committer_email: ${{ secrets.GIT_USER_EMAIL }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Setup
uses: ./.github/actions/setup
with:
install_dependencies: "true"
- name: Normalize package-lock.json
run: npm install
- name: Generate SDK
run: npm run generate
- name: Format code
run: poetry run black ./seamapi
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "ci: Generate code"
commit_user_name: ${{ secrets.GIT_USER_NAME }}
commit_user_email: ${{ secrets.GIT_USER_EMAIL }}
commit_author: ${{ secrets.GIT_USER_NAME }} <${{ secrets.GIT_USER_EMAIL }}>
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Generated by seam-plop
name: Python Test
on:
push:
workflow_dispatch:
inputs:
sdkSha:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
dist
seamapi/utils/get_sentry_dsn.py
.env
__pycache__
*/__pycache__
Expand All @@ -8,3 +7,4 @@ node_modules
.deeper
.yalc
yalc.lock
generated
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
46 changes: 0 additions & 46 deletions generated/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions generated/pyproject.toml

This file was deleted.

1 change: 0 additions & 1 deletion generated/seamapi/__init__.py

This file was deleted.

209 changes: 0 additions & 209 deletions generated/seamapi/access_codes.py

This file was deleted.

Loading