From 8895a8479c4869b48f3406f2aa5b2077837c5f95 Mon Sep 17 00:00:00 2001 From: yjchoe818 Date: Wed, 23 Jul 2025 22:59:01 +0900 Subject: [PATCH 1/3] [Autofic] Create package.json and CI workflow --- .github/workflows/pr_notify.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pr_notify.yml diff --git a/.github/workflows/pr_notify.yml b/.github/workflows/pr_notify.yml new file mode 100644 index 0000000..2b34036 --- /dev/null +++ b/.github/workflows/pr_notify.yml @@ -0,0 +1,20 @@ +name: PR Notifier + +on: + pull_request: + types: [opened, reopened, closed] + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Notify Discord + env: + DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} + run: | + curl -H "Content-Type: application/json" -d '{"content": "🔔 Pull Request [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }}) by ${{ github.event.pull_request.user.login }} - ${{ github.event.action }}"}' $DISCORD_WEBHOOK_URL + - name: Notify Slack + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + run: | + curl -H "Content-Type: application/json" -d '{"text": ":bell: Pull Request <${{ github.event.pull_request.html_url }}|${{ github.event.pull_request.title }}> by ${{ github.event.pull_request.user.login }} - ${{ github.event.action }}"}' $SLACK_WEBHOOK_URL From 1793229eb02a0d15c7dc250e09a83a79f8e0b31c Mon Sep 17 00:00:00 2001 From: yjchoe818 Date: Wed, 23 Jul 2025 22:59:03 +0900 Subject: [PATCH 2/3] [Autofic] 1 malicious code detected!! --- lib/Endpoint.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Endpoint.test.js b/lib/Endpoint.test.js index 1d7a0cc..404115a 100644 --- a/lib/Endpoint.test.js +++ b/lib/Endpoint.test.js @@ -10,7 +10,7 @@ var Socket = require('../test/helpers/Socket'); var t = require('chai').assert; var debug = require('debug')('Endpoint.test'); -process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; +// process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; describe('Endpoint', function() { var Endpoint, E, log, jsonPackage, tlsOverride, process; From 110b241a97097d9e8ddf74c93a122548740277e3 Mon Sep 17 00:00:00 2001 From: yjchoe818 Date: Wed, 23 Jul 2025 22:59:18 +0900 Subject: [PATCH 3/3] chore: remove CI workflow before upstream PR --- .github/workflows/pr_notify.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/workflows/pr_notify.yml diff --git a/.github/workflows/pr_notify.yml b/.github/workflows/pr_notify.yml deleted file mode 100644 index 2b34036..0000000 --- a/.github/workflows/pr_notify.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: PR Notifier - -on: - pull_request: - types: [opened, reopened, closed] - -jobs: - notify: - runs-on: ubuntu-latest - steps: - - name: Notify Discord - env: - DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} - run: | - curl -H "Content-Type: application/json" -d '{"content": "🔔 Pull Request [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }}) by ${{ github.event.pull_request.user.login }} - ${{ github.event.action }}"}' $DISCORD_WEBHOOK_URL - - name: Notify Slack - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - run: | - curl -H "Content-Type: application/json" -d '{"text": ":bell: Pull Request <${{ github.event.pull_request.html_url }}|${{ github.event.pull_request.title }}> by ${{ github.event.pull_request.user.login }} - ${{ github.event.action }}"}' $SLACK_WEBHOOK_URL