Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge development into main #34

Merged
merged 17 commits into from
Jan 16, 2025
Merged
Changes from all commits
Commits
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
6 changes: 1 addition & 5 deletions .github/workflows/formatting-checks.yml
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ name: Formatting Check

on:
push:
pull_request:

jobs:
format-check:
@@ -12,11 +13,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.10.0

- name: Setup Bun
uses: oven-sh/setup-bun@v2

4 changes: 2 additions & 2 deletions .github/workflows/worker-delete.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ jobs:
delete:
runs-on: ubuntu-latest
name: Delete Deployment
environment: ${{ github.ref == 'refs/heads/main' && 'main' || 'development' }}
environment: ${{ (github.ref == 'refs/heads/main' || github.event.workflow_run.head_branch == 'main') && 'main' || 'development' }}
steps:
- name: Setup Node
uses: actions/setup-node@v4
@@ -22,7 +22,7 @@ jobs:
- name: Get Deleted Branch Name
id: get_branch
run: |
branch_name=$(echo '${{ github.event.ref }}' | sed 's#refs/heads/##' | sed 's#[^a-zA-Z0-9]#-#g')
branch_name=$(echo '${{ github.event.workflow_run.head_branch || github.ref }}' | sed 's#refs/heads/##' | sed 's#[^a-zA-Z0-9]#-#g')
echo "branch_name=$branch_name" >> $GITHUB_ENV
- name: Retrieve and Construct Full Worker Name
id: construct_worker_name
7 changes: 3 additions & 4 deletions .github/workflows/worker-deploy.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ jobs:
deploy-to-cloudflare:
runs-on: ubuntu-latest
name: Automatic Cloudflare Deploy
environment: ${{ github.ref == 'refs/heads/main' && 'main' || 'development' }}
environment: ${{ (github.ref == 'refs/heads/main' || github.event.workflow_run.head_branch == 'main') && 'main' || 'development' }}
permissions:
contents: write

@@ -32,7 +32,7 @@ jobs:

- name: Update wrangler.toml Name Field
run: |
branch_name=$(echo '${{ github.ref }}' | sed 's#refs/heads/##' | sed 's#[^a-zA-Z0-9]#-#g')
branch_name=$(echo '${{ github.event.workflow_run.head_branch || github.ref }}' | sed 's#refs/heads/##' | sed 's#[^a-zA-Z0-9]#-#g')
# Extract base name from wrangler.toml
base_name=$(grep '^name = ' wrangler.toml | sed 's/^name = "\(.*\)"$/\1/')
# Concatenate branch name with base name
@@ -61,7 +61,6 @@ jobs:
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
KERNEL_PUBLIC_KEY: ${{ secrets.KERNEL_PUBLIC_KEY }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

- name: Update manifest.json worker url
uses: actions/github-script@v7
@@ -101,7 +100,7 @@ jobs:
files: |
manifest.json
commit-message: "chore: [skip ci] update manifest.json url"
ref: ${{ github.ref }}
ref: ${{ github.event.workflow_run.head_branch || github.ref }}

- name: Write Deployment URL to Summary
run: |
43 changes: 19 additions & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,45 +2,40 @@

## [1.2.0](https://github.com/ubiquity-os-marketplace/command-query/compare/v1.1.0...v1.2.0) (2024-11-29)


### Features

* command interface ([ffbb00b](https://github.com/ubiquity-os-marketplace/command-query/commit/ffbb00b3fa350c7edeebc922ac270ac1ea0b4553))
* manifest commands object ([c2d4761](https://github.com/ubiquity-os-marketplace/command-query/commit/c2d476199f5e4d49c62ce01aa8e08e50ff5e7968))
* switch to Bun ([75896fb](https://github.com/ubiquity-os-marketplace/command-query/commit/75896fbeea121edba53d3b82a1bc428d7d46b8e0))

- command interface ([ffbb00b](https://github.com/ubiquity-os-marketplace/command-query/commit/ffbb00b3fa350c7edeebc922ac270ac1ea0b4553))
- manifest commands object ([c2d4761](https://github.com/ubiquity-os-marketplace/command-query/commit/c2d476199f5e4d49c62ce01aa8e08e50ff5e7968))
- switch to Bun ([75896fb](https://github.com/ubiquity-os-marketplace/command-query/commit/75896fbeea121edba53d3b82a1bc428d7d46b8e0))

### Bug Fixes

* change tests to CJS ([b2f214b](https://github.com/ubiquity-os-marketplace/command-query/commit/b2f214ba9bc37f2d367443a5dfc00ff645c02592))
* formatting ([1562da1](https://github.com/ubiquity-os-marketplace/command-query/commit/1562da1f02ac52642b7bada8a917763c43bc9be7))
* setup bun ([75a3a37](https://github.com/ubiquity-os-marketplace/command-query/commit/75a3a37d533e6ea64bd0bd4b8f33165b5cecd9e7))
* upgrade Typebox and cross-env ([f6ca42a](https://github.com/ubiquity-os-marketplace/command-query/commit/f6ca42a0bca8db7eba41d8720999dadb7f455bf0))
- change tests to CJS ([b2f214b](https://github.com/ubiquity-os-marketplace/command-query/commit/b2f214ba9bc37f2d367443a5dfc00ff645c02592))
- formatting ([1562da1](https://github.com/ubiquity-os-marketplace/command-query/commit/1562da1f02ac52642b7bada8a917763c43bc9be7))
- setup bun ([75a3a37](https://github.com/ubiquity-os-marketplace/command-query/commit/75a3a37d533e6ea64bd0bd4b8f33165b5cecd9e7))
- upgrade Typebox and cross-env ([f6ca42a](https://github.com/ubiquity-os-marketplace/command-query/commit/f6ca42a0bca8db7eba41d8720999dadb7f455bf0))

## [1.1.0](https://github.com/ubiquity-os-marketplace/command-query/compare/v1.0.0...v1.1.0) (2024-11-04)


### Features

* add Octokit dependency and update test configurations ([d86eade](https://github.com/ubiquity-os-marketplace/command-query/commit/d86eade677985603aa153dc203450bcaf73accb2))
* add settings schema to plugin initialization ([6addf2f](https://github.com/ubiquity-os-marketplace/command-query/commit/6addf2f5d8cce6eb4a1451676f5e44a43f0b85c9))
* add support for KERNEL_PUBLIC_KEY in deployment ([a429556](https://github.com/ubiquity-os-marketplace/command-query/commit/a4295561e01ec0b1b6f0a17ff06bbb6826db1eea))
* integrate ubiquity-os-logger ([597a7c3](https://github.com/ubiquity-os-marketplace/command-query/commit/597a7c380aba6e5542b74766f75df2083b4dfeb9))
* moved to SDK ([914bf62](https://github.com/ubiquity-os-marketplace/command-query/commit/914bf62f03565eb9457a97ada9ebaabb36dccf9f))
* schema validation ([cbace97](https://github.com/ubiquity-os-marketplace/command-query/commit/cbace9751bf58e625492ae7051a583b2cd5c85d6))
* worker deploy and delete ([cc96a10](https://github.com/ubiquity-os-marketplace/command-query/commit/cc96a10b7870f68bfcc00d55e7225f21f6e77526))

- add Octokit dependency and update test configurations ([d86eade](https://github.com/ubiquity-os-marketplace/command-query/commit/d86eade677985603aa153dc203450bcaf73accb2))
- add settings schema to plugin initialization ([6addf2f](https://github.com/ubiquity-os-marketplace/command-query/commit/6addf2f5d8cce6eb4a1451676f5e44a43f0b85c9))
- add support for KERNEL_PUBLIC_KEY in deployment ([a429556](https://github.com/ubiquity-os-marketplace/command-query/commit/a4295561e01ec0b1b6f0a17ff06bbb6826db1eea))
- integrate ubiquity-os-logger ([597a7c3](https://github.com/ubiquity-os-marketplace/command-query/commit/597a7c380aba6e5542b74766f75df2083b4dfeb9))
- moved to SDK ([914bf62](https://github.com/ubiquity-os-marketplace/command-query/commit/914bf62f03565eb9457a97ada9ebaabb36dccf9f))
- schema validation ([cbace97](https://github.com/ubiquity-os-marketplace/command-query/commit/cbace9751bf58e625492ae7051a583b2cd5c85d6))
- worker deploy and delete ([cc96a10](https://github.com/ubiquity-os-marketplace/command-query/commit/cc96a10b7870f68bfcc00d55e7225f21f6e77526))

### Bug Fixes

* correct formatting in error comment ([3de9722](https://github.com/ubiquity-os-marketplace/command-query/commit/3de972224ec41cb71890e67f0c24490abbae0820))
* **tests:** correct async test assertions ([6287371](https://github.com/ubiquity-os-marketplace/command-query/commit/6287371adcef44c96e295ceb92cbbe873a92dcf5))
- correct formatting in error comment ([3de9722](https://github.com/ubiquity-os-marketplace/command-query/commit/3de972224ec41cb71890e67f0c24490abbae0820))
- **tests:** correct async test assertions ([6287371](https://github.com/ubiquity-os-marketplace/command-query/commit/6287371adcef44c96e295ceb92cbbe873a92dcf5))

## 1.0.0 (2024-07-08)


### Bug Fixes

* release please workflow ([3aaa800](https://github.com/ubiquibot/command-query-user/commit/3aaa800e4ad22d3334d7a063172b8e9f0c250b1f))
* stop parsing JSON ([92858e9](https://github.com/ubiquibot/command-query-user/commit/92858e9db46360978764f3c1e728f33fab7ea9f2))
* stop parsing JSON ([da9ad42](https://github.com/ubiquibot/command-query-user/commit/da9ad4257b7e53112ea1d9779936998afa331b29))
- release please workflow ([3aaa800](https://github.com/ubiquibot/command-query-user/commit/3aaa800e4ad22d3334d7a063172b8e9f0c250b1f))
- stop parsing JSON ([92858e9](https://github.com/ubiquibot/command-query-user/commit/92858e9db46360978764f3c1e728f33fab7ea9f2))
- stop parsing JSON ([da9ad42](https://github.com/ubiquibot/command-query-user/commit/da9ad4257b7e53112ea1d9779936998afa331b29))
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -6,3 +6,6 @@ compatibility_flags = [ "nodejs_compat" ]
[env.prod]
[observability]
enabled = true

[version_metadata]
binding = "CLOUDFLARE_VERSION_METADATA"
Loading
Oops, something went wrong.