From b95c945a512c6c4e8246985bffc18c14ba6b5398 Mon Sep 17 00:00:00 2001 From: Sudharaka Date: Sat, 9 Dec 2023 18:27:03 -0800 Subject: [PATCH] feat: merging auto detector --- .gitattributes | 2 +- .github/workflows/check-for-changes.yml | 54 ++++++++++++++++++++++++ add-to-cart.mjs | Bin 4036 -> 4086 bytes check-for-changes.mjs | Bin 0 -> 3142 bytes helpers/login.mjs | Bin 574 -> 564 bytes helpers/sendEmail.mjs | Bin 0 -> 550 bytes package-lock.json | 9 ++++ package.json | 4 +- 8 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/check-for-changes.yml create mode 100644 check-for-changes.mjs create mode 100644 helpers/sendEmail.mjs diff --git a/.gitattributes b/.gitattributes index cfaad23..efa57bd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ -add-to-cart.mjs filter=git-crypt diff=git-crypt +*.mjs filter=git-crypt diff=git-crypt helpers/** filter=git-crypt diff=git-crypt diff --git a/.github/workflows/check-for-changes.yml b/.github/workflows/check-for-changes.yml new file mode 100644 index 0000000..5570615 --- /dev/null +++ b/.github/workflows/check-for-changes.yml @@ -0,0 +1,54 @@ +name: Auto Detect Changes + +env: + USERNAMES: ${{ secrets.USERNAMES }} + PASSWORDS: ${{ secrets.PASSWORDS }} + SENDING_EMAILS: ${{ secrets.SENDING_EMAILS }} + EMAIL_USERNAME: ${{ secrets.EMAIL_USERNAME }} + EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }} + LOGINS: ${{ vars.LOGINS }} + SIGN_IN_URL: ${{ vars.SIGN_IN_URL }} + WISH_LIST_URL: ${{ vars.WISH_LIST_URL }} + +# Controls when the workflow will run +on: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + + # Triggers the workflow through a webhook event + repository_dispatch: + types: [check-for-changes] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + check-for-changes: + strategy: + fail-fast: false + matrix: + login: ${{ fromJson(vars.LOGINS) }} + + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + + # Setup Node + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version-file: 'package.json' + cache: 'npm' + + - name: Install dependencies + run: npm ci --prefer-offline --no-audit + + - uses: amplium/git-crypt-action@master + with: + key_encoded: ${{ secrets.DECRYPTION_SECRET }} + + # Runs Puppeteer + - name: Run Puppeteer + run: export LOGIN="${{ matrix.login }}" && node check-for-changes.mjs diff --git a/add-to-cart.mjs b/add-to-cart.mjs index 4991f4c673db463ac8c7921ff53ec1c7c1603f7c..dadbe4706133a7478610374843f6d4aa08f719c5 100644 GIT binary patch literal 4086 zcmV7t5_GEhVn9Z#?$jzlJmyP0$qTm0{VfyA&DUWp#o`1E_~AGt_@nSeu(SYgSYr zgF}l^K809nJ1LC7_;Pwl!(1JnM^(0;lUA-}0jnwXxoDZTwBX z8F$qBpjVVfEkB*NX=5R$0)J>L#2LVPJw?OR3dQ=Lpe-l=e|Lh(evHYfI5`+v)}POP zGcnz+n{2+IQ~+3cG~(~IX#R4^MxfXhn}L^Yc1m1TVG8oONNMjDH|h(#FGd}V=t?H# z$Xk2@^pFI8YhnOEOJQVVKC~89pbkcr*qJJxwVEi?Zh_8Er8Bn?KL;RbV~lMTlFXmK zDEH(pf54&l)t@-q!Ov*H{Ok(X(?RZ7aP*)K^9%!7F>!d%K{PMtE2JKEP$Lh)8z~#` z>>B#21-em|$FoU`N;_}KVjW&F3?^oX#WoVoqp$51EZ`(~R(RPP)?LNNDA%TcyK$JN zVdiqwl_?U<&$Hv0=xWGEd|rHhI7zPtC1Jeq;h$>R;wMlvJm3Jt46#iJXwbho(|UJ@ zT%aurjwynB113^xY2&;9SbX!x0;`4}LNp6EqJV(ciet1Bz&#*$79)ttb5ZIRS=nD< zM%^iz3M%09GTdY&9G9S2lfs^9OG+FZ#`S&EG0$A>Xz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yhk1=2a}k?del#0P|7qdJd^MNceGY_UqS2-WBVRC#uL*o9zk5(KzU`u{ z;HvlbnO&}5ss=okPtay7X*o(*kPRr-vV5OvHORxx$oRvm8Q%3Uu=XXnKM1SwXhCe(&g(kkD>S~#w#1X+T>VA43)7&|cLA`~iB1g1xu>Wu$??USXZd`Qq{_`$n zE%`mwKh3Hie_24CY#zvR>42_0dOAhV(6DqkupK+~v?|uy2sEXvX)zEsAF&t?qOHV! zNrG)P2z(SeSDwGvZ-Oa*NAh+p#zqTI;c?oIf=O|hRjO;Cfyf%^5zU-EMIkdDLYgQhd+)zlF~G=rX;4u%C_hL}59RG{ z-q&%*x>RP0Y~qy`O>^YLpbcw~-*cM78~b|g)p86{u(j!bI=mE+rpD-ZkW?^v7*XOD zI2FB}0`yC{JmH*tRTih+E2`{OEojZ|sZBCG${5^aCs?w$`O_8!sVIU7o+zeGJU zhaSqocN`1X`0G;YFo-_`Cf$S4ishjcl$Af~mB2_FDnXiM6Z1ONiYP5IQQL;6=C%;f z4TbZ&74W#B#p$E;jVXAjDD+JPA^Vm1Dgip6tMn~u_AMMy`mPsZb!~9ptO`g>9Nb~D z`RKYqIeEFaXb}`8Yn->L(RXg`NGU+x-ODcNbQs&v!LGpgd<7B)S78lXo>FVvjWV?`pK*G14UhRkrsswSD~nz{UopZwx6(%UR7 qkMB+!!W`RMN{U3Q&zVE6IAWB|E6n1Zfc7x?q~+n#$N8;6-F5`^%HjC{ diff --git a/check-for-changes.mjs b/check-for-changes.mjs new file mode 100644 index 0000000000000000000000000000000000000000..ea460ccf97e31d272e04341269710b6e8d7fb306 GIT binary patch literal 3142 zcmV-M47u|FM@dveQdv+`0878~6^A>fMR^0#>qD_0mGUfA%w#K^I$78o}w*4A8v zB?0Q=>G9rMJWdxB5hB&Is)A&vbj@5%{%}7M})w;w+K(VmR z!q*`k=$`dv5VJV#AHjsCSZSu+UNH669HEH~9(1C91`&&fG`VyeSCp1bO5WEd6<&%j zD=rc(YGr$%e>-BRwU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K(3r23ka$ZtN;K2 literal 0 HcmV?d00001 diff --git a/package-lock.json b/package-lock.json index 47f2bdb..93eafb0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "capsolver": "^1.0.1", "dotenv": "^16.3.1", + "nodemailer": "^6.9.7", "puppeteer-extra": "^3.3.6", "puppeteer-extra-plugin-stealth": "^2.11.2" }, @@ -1112,6 +1113,14 @@ } } }, + "node_modules/nodemailer": { + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.7.tgz", + "integrity": "sha512-rUtR77ksqex/eZRLmQ21LKVH5nAAsVicAtAYudK7JgwenEDZ0UIQ1adUGqErz7sMkWYxWTTU1aeP2Jga6WQyJw==", + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", diff --git a/package.json b/package.json index 39a66f9..a04888a 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "dependencies": { "capsolver": "^1.0.1", "dotenv": "^16.3.1", + "nodemailer": "^6.9.7", "puppeteer-extra": "^3.3.6", "puppeteer-extra-plugin-stealth": "^2.11.2" }, @@ -17,7 +18,8 @@ "prettier": "3.1.0" }, "scripts": { - "start": "node add-to-cart.mjs", + "start-booker": "node add-to-cart.mjs", + "start-checker": "node check-for-changes.mjs", "prettier:write": "prettier --write ." } }