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

feat/label-gating #42

Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
47980dd
Merge remote-tracking branch 'upstream/development' into fork/ubq-tes…
gentlementlegen Oct 10, 2024
551fb15
chore: enhance workflow and schema configuration
gentlementlegen Oct 10, 2024
89f993c
refactor: update label handling for pricing logic
gentlementlegen Oct 10, 2024
8ce1f22
feat: add label description and collaborator-only feature
gentlementlegen Oct 10, 2024
724e032
refactor: update label handling to use 'name' instead of 'value'
gentlementlegen Oct 10, 2024
7a68e05
refactor: streamline action definition and comment out unused steps
gentlementlegen Oct 10, 2024
dc5b339
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
77500dc
chore: updated manifest.json and dist build
ubiquity-os[bot] Oct 10, 2024
45a9d8d
fix: remove unused inputs.ref from compute workflow
gentlementlegen Oct 10, 2024
ef5fcb2
fix: remove unnecessary period from COLLABORATOR_ONLY_DESCRIPTION
gentlementlegen Oct 10, 2024
ae28dc1
chore: updated manifest.json and dist build
ubiquity-os[bot] Oct 10, 2024
5b6e439
fix(sync-labels): update label description handling
gentlementlegen Oct 10, 2024
9565df9
chore: updated manifest.json and dist build
ubiquity-os[bot] Oct 10, 2024
fe73477
Merge branch 'feat/label-gating' into meniole-feat/label-gating
gentlementlegen Oct 10, 2024
aea998a
Update action.yml
gentlementlegen Oct 10, 2024
74260db
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
7739f14
feat(logging): add logger for label update check
gentlementlegen Oct 10, 2024
84d99fb
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
16f64da
feat: add label change detection in global config update
gentlementlegen Oct 10, 2024
d2e3cd6
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
9143565
chore: update logs
gentlementlegen Oct 10, 2024
7b36351
chore: update logs
gentlementlegen Oct 10, 2024
121da42
chore: update logs
gentlementlegen Oct 10, 2024
53dc8d0
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
c57524d
chore: update logs
gentlementlegen Oct 10, 2024
e273398
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
65f08cf
chore: update logs
gentlementlegen Oct 10, 2024
eb2fe1a
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
bfc9da3
chore: update logs
gentlementlegen Oct 10, 2024
5595198
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
42ca324
chore: update logs
gentlementlegen Oct 10, 2024
8b13107
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
787fe2c
refactor: simplify label change detection logic
gentlementlegen Oct 10, 2024
f6711e1
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
470d072
fix: update collaborator description with warning emoji
gentlementlegen Oct 10, 2024
0a88623
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
7b7395e
fix(sync-labels): correct label description check logic
gentlementlegen Oct 10, 2024
3e90e66
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
7918d51
refactor: simplify description checking in sync-labels-to-config
gentlementlegen Oct 10, 2024
6eb163c
chore: updated manifest.json and dist build
ubiquity-ubiquibot Oct 10, 2024
00a7e88
test: add tests for syncPriceLabelsToConfig function
gentlementlegen Oct 10, 2024
015d38e
Merge branch 'meniole-feat/label-gating' into feat/label-gating
gentlementlegen Oct 10, 2024
6fa8466
chore: updated manifest.json and dist build
ubiquity-os[bot] Oct 10, 2024
0512298
refactor: update label structure for time and priority
gentlementlegen Oct 10, 2024
d3f8ad1
chore: merge
gentlementlegen Oct 23, 2024
3e46b2a
chore: update logger import paths to new package
gentlementlegen Oct 23, 2024
4d12aac
chore: updated manifest.json and dist build
github-actions[bot] Oct 23, 2024
291779c
chore(workflow): update environment variables in GitHub Action
gentlementlegen Oct 23, 2024
2ff3711
chore: merge development
gentlementlegen Oct 29, 2024
3e918e1
chore: merge development
gentlementlegen Oct 29, 2024
bfd278b
chore: remove commented and unused steps in workflow
gentlementlegen Oct 29, 2024
d0013d1
chore(package): remove "type": "module" and downgrade TypeScript
gentlementlegen Oct 29, 2024
d20f043
chore: suppress TypeScript errors for schema properties
gentlementlegen Oct 29, 2024
f4bf2e0
chore: updated manifest.json and dist build
github-actions[bot] Oct 29, 2024
4342e62
chore: add GitHub token to compute workflow and enhance type descript…
gentlementlegen Oct 29, 2024
57e290f
chore: updated manifest.json and dist build
github-actions[bot] Oct 29, 2024
b696b77
refactor: nest labels under time and priority categories
gentlementlegen Oct 29, 2024
11553d3
chore: update dependencies and fix label description
gentlementlegen Oct 29, 2024
952b545
chore: updated manifest.json and dist build
github-actions[bot] Oct 29, 2024
5717c51
test: update label counts and fix description handling
gentlementlegen Oct 29, 2024
67d96d5
fix(tests): update mocking technique and import structure
gentlementlegen Oct 29, 2024
1bba979
test: increase timeout for price-labels tests
gentlementlegen Oct 29, 2024
2dacc4b
chore: add KERNEL_PUBLIC_KEY to compute.yml secrets
gentlementlegen Oct 29, 2024
23e02c7
fix(logging): handle missing label error gracefully
gentlementlegen Oct 29, 2024
aac510e
chore: updated manifest.json and dist build
github-actions[bot] Oct 29, 2024
a144021
refactor: simplify function signature in createLabel
gentlementlegen Nov 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
30 changes: 14 additions & 16 deletions .github/workflows/compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,27 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

- name: Echo inputs
run: echo ${{ inputs.settings }}

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
# - name: Setup Node
# uses: actions/setup-node@v4
# with:
# node-version: "20"

- uses: oven-sh/setup-bun@v1
# - uses: oven-sh/setup-bun@v1

- name: Install dependencies
run: yarn install
# - name: Install dependencies
# run: yarn install

- name: Generate Supabase Types
run: |
yarn install
yarn run "supabase:generate:remote"
env:
SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_PROJECT_ID }}
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
# - name: Generate Supabase Types
# run: |
# yarn install
# yarn run "supabase:generate:remote"
# env:
# SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_PROJECT_ID }}
# SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}

- name: Calling action
uses: ./
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/update-configuration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Update Configuration and Build"

on:
workflow_dispatch:
push:

jobs:
update:
name: "Update Configuration & Build"
runs-on: ubuntu-latest
permissions: write-all

steps:
- uses: ubiquity-os/action-deploy-plugin@main
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/worker-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
id: wrangler_deploy
uses: cloudflare/wrangler-action@v3
with:
wranglerVersion: "3.61.0"
wranglerVersion: "3.79.0"
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
secrets: |
Expand Down
15 changes: 4 additions & 11 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
name: "Delegate Compute"
description: "UbiquiBot Delegated Compute Action"
description: "Ubiquity-os Delegated Compute Action"
gentlementlegen marked this conversation as resolved.
Show resolved Hide resolved
outputs:
result: # id of output
result:
description: "The result of a event handler"
value: ${{ steps.mainHandler.outputs.result }}
runs:
using: "composite"
steps:
- run: cd ${{ github.action_path }}
shell: bash
- run: bun install
shell: bash
- run: bun start
shell: bash
id: mainHandler
using: "node20"
main: "dist/index.js"
Loading
Loading