Skip to content

Commit

Permalink
Parse join reason and alert relevant people + Adds prettier workflow …
Browse files Browse the repository at this point in the history
…+ Runs Prettier (#25)

* Update .gitignore

* Prettier + Add Reason Parsing

Adds Reasoning Parsing to ping people needed + runs a (much needed) prettier run.

* Create Prettier Workflow

RUN YOUR PRETTIER CHECKS YALL

* Update .github/workflows/CI.yml

Signed-off-by: Aram <[email protected]>

---------

Signed-off-by: Aram <[email protected]>
  • Loading branch information
aramshiva authored May 9, 2024
1 parent c348d1e commit a1a96cf
Show file tree
Hide file tree
Showing 16 changed files with 1,586 additions and 728 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI
permissions: read-all

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
prettier:
runs-on: ubuntu-latest
name: Prettier
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "20.x"
cache: "pnpm"

- name: Install Dependencies
run: pnpm install

- name: Run Prettier
run: npx prettier --check .
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ node_modules/*
.vscode/*
prisma/migrations

src/gen
src/gen
yarn.lock
143 changes: 69 additions & 74 deletions dev-manifest.json
Original file line number Diff line number Diff line change
@@ -1,78 +1,73 @@
{
"display_information": {
"name": "DEV Prof. Bloom",
"description": "Development bot for Prof Bloom",
"background_color": "#f06566"
"display_information": {
"name": "DEV Prof. Bloom",
"description": "Development bot for Prof Bloom",
"background_color": "#f06566"
},
"features": {
"app_home": {
"home_tab_enabled": true,
"messages_tab_enabled": false,
"messages_tab_read_only_enabled": true
},
"features": {
"app_home": {
"home_tab_enabled": true,
"messages_tab_enabled": false,
"messages_tab_read_only_enabled": true
},
"bot_user": {
"display_name": "[DEV] Professor Bloom",
"always_online": false
},
"slash_commands": [
{
"command": "/bloom-dev",
"url": "https://7ad4-65-19-76-238.ngrok-free.app/slack/events",
"description": "Summons the professor.",
"usage_hint": "help",
"should_escape": false
}
]
"bot_user": {
"display_name": "[DEV] Professor Bloom",
"always_online": false
},
"oauth_config": {
"redirect_urls": [
"https://7ad4-65-19-76-238.ngrok-free.app/slack/oauth_redirect"
],
"scopes": {
"user": [
"chat:write"
],
"bot": [
"app_mentions:read",
"calls:read",
"canvases:read",
"channels:history",
"channels:join",
"channels:read",
"chat:write",
"chat:write.public",
"commands",
"emoji:read",
"groups:history",
"groups:write",
"im:history",
"im:read",
"im:write",
"reactions:read",
"reactions:write",
"users.profile:read",
"users:read",
"users:read.email",
"users:write",
"metadata.message:read",
"mpim:history"
]
}
},
"settings": {
"event_subscriptions": {
"request_url": "https://7ad4-65-19-76-238.ngrok-free.app/slack/events",
"bot_events": [
"app_mention",
"message.channels"
]
},
"interactivity": {
"is_enabled": true,
"request_url": "https://7ad4-65-19-76-238.ngrok-free.app"
},
"org_deploy_enabled": false,
"socket_mode_enabled": false,
"token_rotation_enabled": false
"slash_commands": [
{
"command": "/bloom-dev",
"url": "https://7ad4-65-19-76-238.ngrok-free.app/slack/events",
"description": "Summons the professor.",
"usage_hint": "help",
"should_escape": false
}
]
},
"oauth_config": {
"redirect_urls": [
"https://7ad4-65-19-76-238.ngrok-free.app/slack/oauth_redirect"
],
"scopes": {
"user": ["chat:write"],
"bot": [
"app_mentions:read",
"calls:read",
"canvases:read",
"channels:history",
"channels:join",
"channels:read",
"chat:write",
"chat:write.public",
"commands",
"emoji:read",
"groups:history",
"groups:write",
"im:history",
"im:read",
"im:write",
"reactions:read",
"reactions:write",
"users.profile:read",
"users:read",
"users:read.email",
"users:write",
"metadata.message:read",
"mpim:history"
]
}
}
},
"settings": {
"event_subscriptions": {
"request_url": "https://7ad4-65-19-76-238.ngrok-free.app/slack/events",
"bot_events": ["app_mention", "message.channels"]
},
"interactivity": {
"is_enabled": true,
"request_url": "https://7ad4-65-19-76-238.ngrok-free.app"
},
"org_deploy_enabled": false,
"socket_mode_enabled": false,
"token_rotation_enabled": false
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"ts-node": "^10.9.2",
"typescript": "~5.4.3"
}
}
}
Loading

0 comments on commit a1a96cf

Please sign in to comment.