Commit Graph

60 Commits

Author SHA1 Message Date
97395686b0 Remove redundant TS files 2023-07-06 14:33:59 +02:00
81a72804a4 Add package.json to included files 2023-07-06 14:33:36 +02:00
446df5d241 Examine new contents of /var/task 2023-07-06 14:32:22 +02:00
4559c2e3bc Reintroduce dist outDir 2023-07-06 14:30:25 +02:00
4156458106 Read contents of the function's directory 2023-07-06 14:24:01 +02:00
88ac521fae Log /var/runtime 2023-07-06 14:07:28 +02:00
6a2909a487 Revert to using TypeScript in Netlify's functions 2023-07-06 14:05:38 +02:00
d4ad69a1dc Temporarily log /var/task 2023-07-06 14:02:28 +02:00
7b44011d27 Set CWD to /var/runtime 2023-07-06 13:59:43 +02:00
41b5531389 Try to change CWD before adapter gets imported 2023-07-06 13:58:19 +02:00
629d4f11f8 Reintroduce AWS Lambda adapter 2023-07-06 13:55:18 +02:00
123f2b78ee Replace AWS Lambda adapter with custom function 2023-07-06 13:08:59 +02:00
22b75f6c3f Create a dummy package.json inside function's dir 2023-07-06 12:21:34 +02:00
ddb5c752ac Specify local files to include 2023-07-06 12:02:29 +02:00
a0dd3ccd0d Remove noEmit flag and use function from dist dir 2023-07-06 11:50:49 +02:00
80368e0647 Add handling of non-multiline PRIVATE_KEY variable 2023-07-06 11:42:13 +02:00
e33aadee11 Specify external node_modules 2023-07-06 11:10:26 +02:00
ec9d612eaa Adapt the bot to run via Netlify Functions 2023-07-06 11:01:01 +02:00
Maciej Pędzich (Mac)
8a086eeb26
Merge pull request #1 from maciejpedzich/dev
Add 400 to the list of expected status codes
2023-02-23 18:49:35 +01:00
Maciej Pędzich
30c616a397 Add 400 to the list of expected status codes 2023-02-23 18:48:41 +01:00
Maciej Pędzich
39dad9bbee Ignore GitHub App private keys 2023-02-23 18:47:42 +01:00
Maciej Pędzich (Mac)
3e59671bc6
Add development instructions 2023-02-04 01:18:05 +01:00
Maciej Pędzich
7311a8f02e Add https directory link to URL file name message 2023-02-02 17:46:58 +01:00
Maciej Pędzich
7819814c1e Reword URL file name warning heading 2023-02-02 17:15:46 +01:00
Maciej Pędzich
1d28169283 Remove extra ) in GitHub new file page URL 2023-02-02 17:15:01 +01:00
Maciej Pędzich
9ac861a397 Add GitHub new file links to URL file name message 2023-02-02 17:01:45 +01:00
Maciej Pędzich
4c64b68d5c Improve punctuation in URL filename instructions 2023-01-28 13:04:50 +01:00
Maciej Pędzich
0d99a94b55 Remove redundant curly braces in urlFilename check 2023-01-28 13:01:08 +01:00
Maciej Pędzich
89b6aba98a Check for entries with matching url and filename 2023-01-28 12:55:41 +01:00
Maciej Pędzich
8add924dd4 Temp log playlistLookupResults 2023-01-28 12:50:18 +01:00
Maciej Pędzich
4ea19f6d3e Add separate instructions for URL filename entries 2023-01-28 12:43:06 +01:00
Maciej Pędzich
90f6b9b617 Ensure substring following si param gets removed 2023-01-27 16:15:00 +01:00
Maciej Pędzich
449f718e6f Use the right variable for determining fetch URL 2023-01-27 15:48:17 +01:00
Maciej Pędzich
bd54932a5e Convert playlist link filename into a valid URL 2023-01-27 15:39:28 +01:00
Maciej Pędzich
5e82956fcd Show a rename warning for valid playlist URLs 2023-01-27 14:22:17 +01:00
Maciej Pędzich
b79596acef Reword validation result messages 2022-12-23 14:46:07 +01:00
Maciej Pędzich
eae9b4a347 Don't dismiss a review if all entries are valid 2022-10-09 15:02:17 +02:00
Maciej Pędzich
1077d2d97e Add review presence and CHANGES_REQUESTED check 2022-10-02 18:44:53 +02:00
Maciej Pędzich
6245a39a82 Remove redundant review ID check 2022-10-01 17:08:30 +02:00
Maciej Pędzich
cdbbbd6403 Don't close a pull request approval 2022-10-01 13:14:35 +02:00
Maciej Pędzich
da5b67a642 Minor refactor and success message rewording 2022-09-22 06:14:31 +02:00
Maciej Pędzich
724a52a28e Rework message format and handling valid playlists 2022-09-21 22:39:54 +02:00
Maciej Pędzich
27e2eec422 Install metadata-scraper 2022-09-21 22:38:18 +02:00
Maciej Pędzich
d768630232 Change wording of some messages 2022-09-16 06:07:55 +02:00
Maciej Pędzich
327da74f58 Reword review messages and improve allowlist check 2022-09-14 06:53:05 +02:00
Maciej Pędzich
14cb3c6c24 Trigger the callback only for allowlisted repos 2022-09-13 15:32:52 +02:00
Maciej Pędzich
5369e80810 Add dev script for testing the bot locally 2022-09-13 10:04:27 +02:00
Maciej Pędzich
c196252ddf Rename index.ts to bot.ts 2022-09-13 10:03:48 +02:00
Maciej Pędzich
a91845415d Change compiler target to ESNext 2022-09-12 22:15:05 +02:00
Maciej Pędzich
3417ae35e6 Install smee-client dev dependency 2022-09-12 21:14:46 +02:00