-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse join reason and alert relevant people + Adds prettier workflow …
…+ 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
Showing
16 changed files
with
1,586 additions
and
728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ node_modules/* | |
.vscode/* | ||
prisma/migrations | ||
|
||
src/gen | ||
src/gen | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,4 +43,4 @@ | |
"ts-node": "^10.9.2", | ||
"typescript": "~5.4.3" | ||
} | ||
} | ||
} |
Oops, something went wrong.