From cdfe1cfde62c175c021cdcab646e3eab88d24acf Mon Sep 17 00:00:00 2001 From: Azham Makes Trash <73955243+AzhamProdLive@users.noreply.github.com> Date: Tue, 23 Apr 2024 12:01:00 +0200 Subject: [PATCH 01/25] Delete domains/spacehastelog.json Can't use it with Cloudflare Workers --- domains/spacehastelog.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 domains/spacehastelog.json diff --git a/domains/spacehastelog.json b/domains/spacehastelog.json deleted file mode 100644 index ab98abc8c..000000000 --- a/domains/spacehastelog.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "owner": { - "username": "AzhamProdLive", - "email": "websitedomain.regroup588@passinbox.com" - }, - "record": { - "CNAME": "spacehaste.azhamproductions.workers.dev" - } -} From 6399eb65071dd7caa6e4b86e8eb86fb812198384 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:17:10 +0800 Subject: [PATCH 02/25] Update checks.yml --- .github/workflows/checks.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 7fa947f15..370ffce74 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -14,3 +14,28 @@ jobs: bun-version: latest - run: bun install - run: bun test + continue-on-error: true + - name: Check if validation failed + run: | + if [ $? -ne 0 ]; then + echo "::set-output name=validation_failed::true" + else + echo "::set-output name=validation_failed::false" + fi + id: check_validation + - name: Close pull request if validation failed + if: steps.check_validation.outputs.validation_failed == 'true' + run: | + curl -X POST \ + -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + -H "Content-Type: application/json" \ + -d '{"state":"closed"}' \ + "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}" + - name: Comment on closed pull request + if: steps.check_validation.outputs.validation_failed == 'true' + run: | + curl -X POST \ + -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + -H "Content-Type: application/json" \ + -d '{"body": "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the [documentation](https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread."}' \ + "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments" From 9da543dc5f8b28b11e5c3c7d136af3c7875835c9 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:19:54 +0800 Subject: [PATCH 03/25] Create testing.json --- domains/testing.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 domains/testing.json diff --git a/domains/testing.json b/domains/testing.json new file mode 100644 index 000000000..8bd6648ed --- /dev/null +++ b/domains/testing.json @@ -0,0 +1 @@ +asdf From a065640523f1368f64e183df536b61c769a5e8f2 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:36:19 +0800 Subject: [PATCH 04/25] Update checks.yml --- .github/workflows/checks.yml | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 370ffce74..eb0ff8ebb 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -1,4 +1,5 @@ name: Checks + on: [pull_request, workflow_dispatch] jobs: @@ -13,29 +14,6 @@ jobs: with: bun-version: latest - run: bun install - - run: bun test - continue-on-error: true - - name: Check if validation failed - run: | - if [ $? -ne 0 ]; then - echo "::set-output name=validation_failed::true" - else - echo "::set-output name=validation_failed::false" - fi - id: check_validation - - name: Close pull request if validation failed - if: steps.check_validation.outputs.validation_failed == 'true' - run: | - curl -X POST \ - -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ - -H "Content-Type: application/json" \ - -d '{"state":"closed"}' \ - "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}" - - name: Comment on closed pull request - if: steps.check_validation.outputs.validation_failed == 'true' - run: | - curl -X POST \ - -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ - -H "Content-Type: application/json" \ - -d '{"body": "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the [documentation](https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread."}' \ - "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments" + - run: bun test || (echo 'Tests failed, closing pull request.' && gh pr close --comment "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the documention (https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread.") + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From c7c01eeaa70becc94ac99601db3bd1e7f893fe6e Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:41:24 +0800 Subject: [PATCH 05/25] Update checks.yml --- .github/workflows/checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index eb0ff8ebb..f74300c2f 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -14,6 +14,6 @@ jobs: with: bun-version: latest - run: bun install - - run: bun test || (echo 'Tests failed, closing pull request.' && gh pr close --comment "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the documention (https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread.") + - run: bun test || (echo 'Tests failed, closing pull request.' && gh pr close https://github.com/${{ github.repository }}/pull/${{ github.event.number }} --comment "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the documention (https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread.") env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 858b9718484adcd1df707292269eb25ca8457ac2 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:42:45 +0800 Subject: [PATCH 06/25] Update checks.yml --- .github/workflows/checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f74300c2f..7dd8e8467 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -14,6 +14,6 @@ jobs: with: bun-version: latest - run: bun install - - run: bun test || (echo 'Tests failed, closing pull request.' && gh pr close https://github.com/${{ github.repository }}/pull/${{ github.event.number }} --comment "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the documention (https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread.") + - run: bun test || (echo 'Tests failed, closing pull request.' && gh pr close https://github.com/${{ github.repository }}/pull/${{ github.event.number }} --comment "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the documention (https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread." && exit 0) env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 97c81078aa7848a58c8f6a94c92c605b75d1c649 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:42:58 +0800 Subject: [PATCH 07/25] Delete domains/testing.json --- domains/testing.json | 1 - 1 file changed, 1 deletion(-) delete mode 100644 domains/testing.json diff --git a/domains/testing.json b/domains/testing.json deleted file mode 100644 index 8bd6648ed..000000000 --- a/domains/testing.json +++ /dev/null @@ -1 +0,0 @@ -asdf From 61e5183ecc1e0150a177334909ace2c08da7bd4a Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:43:56 +0800 Subject: [PATCH 08/25] Update checks.yml --- .github/workflows/checks.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 7dd8e8467..f22fb51ec 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -14,6 +14,7 @@ jobs: with: bun-version: latest - run: bun install - - run: bun test || (echo 'Tests failed, closing pull request.' && gh pr close https://github.com/${{ github.repository }}/pull/${{ github.event.number }} --comment "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the documention (https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread." && exit 0) + - name: Run tests + run: bun test || (echo 'Tests failed, closing pull request.' && gh pr close https://github.com/${{ github.repository }}/pull/${{ github.event.number }} --comment "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the documention (https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread." && exit 0) env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 669878ea34afbd9ca1b5dd930bbb424502096b57 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:44:24 +0800 Subject: [PATCH 09/25] Create test --- domains/test | 1 + 1 file changed, 1 insertion(+) create mode 100644 domains/test diff --git a/domains/test b/domains/test new file mode 100644 index 000000000..9daeafb98 --- /dev/null +++ b/domains/test @@ -0,0 +1 @@ +test From ab47511d865d2371cf6c663629bdd8ff57485fb2 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:46:50 +0800 Subject: [PATCH 10/25] Update checks.yml --- .github/workflows/checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f22fb51ec..255b434e1 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -15,6 +15,6 @@ jobs: bun-version: latest - run: bun install - name: Run tests - run: bun test || (echo 'Tests failed, closing pull request.' && gh pr close https://github.com/${{ github.repository }}/pull/${{ github.event.number }} --comment "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the documention (https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread." && exit 0) + run: bun test || (echo 'Tests failed, closing pull request.' && gh pr close https://github.com/${{ github.repository }}/pull/${{ github.event.number }} --comment "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the documention (https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread." && exit 1) env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 2c67e11415dc2146ee421b3c628f5285901d0dd7 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:47:56 +0800 Subject: [PATCH 11/25] Delete domains/test --- domains/test | 1 - 1 file changed, 1 deletion(-) delete mode 100644 domains/test diff --git a/domains/test b/domains/test deleted file mode 100644 index 9daeafb98..000000000 --- a/domains/test +++ /dev/null @@ -1 +0,0 @@ -test From b0944de3d2020d941e9254cbf4f81770c003c305 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:54:43 +0800 Subject: [PATCH 12/25] fix permission issue --- .github/workflows/checks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 255b434e1..a4fec7d61 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -5,6 +5,8 @@ on: [pull_request, workflow_dispatch] jobs: validation: runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - uses: actions/checkout@v4 with: From ee2d3c018db198493fd3b7f215b19ed7076e5858 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 12:56:06 +0800 Subject: [PATCH 13/25] actually fix permission issue --- .github/workflows/checks.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index a4fec7d61..bb91b5d70 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -5,8 +5,7 @@ on: [pull_request, workflow_dispatch] jobs: validation: runs-on: ubuntu-latest - permissions: - pull-requests: write + permissions: write-all steps: - uses: actions/checkout@v4 with: From feb1a463c44f8c4f4e33f25db61cdaae01f6c54a Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 13:03:29 +0800 Subject: [PATCH 14/25] revert #13578 --- .github/workflows/checks.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index bb91b5d70..be5f73e48 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -5,7 +5,6 @@ on: [pull_request, workflow_dispatch] jobs: validation: runs-on: ubuntu-latest - permissions: write-all steps: - uses: actions/checkout@v4 with: @@ -16,6 +15,4 @@ jobs: bun-version: latest - run: bun install - name: Run tests - run: bun test || (echo 'Tests failed, closing pull request.' && gh pr close https://github.com/${{ github.repository }}/pull/${{ github.event.number }} --comment "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the documention (https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread." && exit 1) - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: bun test From 31364dacfacd86fab71cac5920d6271a4d4f6041 Mon Sep 17 00:00:00 2001 From: orangc Date: Wed, 24 Apr 2024 08:46:24 +0300 Subject: [PATCH 15/25] Create uwu --- domains/uwu | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 domains/uwu diff --git a/domains/uwu b/domains/uwu new file mode 100644 index 000000000..666b729c8 --- /dev/null +++ b/domains/uwu @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "orxngc", + "discord": "orangc", + "email": "orangc@proton.me" + }, + "record": { + "URL": "https://orangc.is-a.dev" + } +} From 0b8c5713bd57f321530096ef81efe310dac38279 Mon Sep 17 00:00:00 2001 From: orangc Date: Wed, 24 Apr 2024 08:46:42 +0300 Subject: [PATCH 16/25] Update oc.json --- domains/oc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/domains/oc.json b/domains/oc.json index 86976d89e..666b729c8 100644 --- a/domains/oc.json +++ b/domains/oc.json @@ -1,6 +1,7 @@ { "owner": { "username": "orxngc", + "discord": "orangc", "email": "orangc@proton.me" }, "record": { From 2213fb0921c7c8fe3d81b87c6282c906e5f73573 Mon Sep 17 00:00:00 2001 From: orangc Date: Wed, 24 Apr 2024 08:46:58 +0300 Subject: [PATCH 17/25] Update orange.json --- domains/orange.json | 1 + 1 file changed, 1 insertion(+) diff --git a/domains/orange.json b/domains/orange.json index 86976d89e..666b729c8 100644 --- a/domains/orange.json +++ b/domains/orange.json @@ -1,6 +1,7 @@ { "owner": { "username": "orxngc", + "discord": "orangc", "email": "orangc@proton.me" }, "record": { From 3760673caf9c5ca86cf04a45fc40b41853ebcdef Mon Sep 17 00:00:00 2001 From: orangc Date: Wed, 24 Apr 2024 08:47:25 +0300 Subject: [PATCH 18/25] Update orangc.json --- domains/orangc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/domains/orangc.json b/domains/orangc.json index 791bb5de6..ed3a85d41 100644 --- a/domains/orangc.json +++ b/domains/orangc.json @@ -1,6 +1,7 @@ { "owner": { "username": "orxngc", + "discord": "orangc", "email": "orangc@proton.me" }, "record": { From 0c37e724e84cdd684098a0aebab1c496565b77fd Mon Sep 17 00:00:00 2001 From: orangc Date: Wed, 24 Apr 2024 08:49:07 +0300 Subject: [PATCH 19/25] Update _discord.orange.json --- domains/_discord.orange.json | 1 + 1 file changed, 1 insertion(+) diff --git a/domains/_discord.orange.json b/domains/_discord.orange.json index c76324891..f211bc75e 100644 --- a/domains/_discord.orange.json +++ b/domains/_discord.orange.json @@ -1,6 +1,7 @@ { "owner": { "username": "orxngc", + "discord": "orangc", "email": "orangc@proton.me" }, "record": { From 98173d212d6b7b4ca98b8de8d2774f6e455cf6ad Mon Sep 17 00:00:00 2001 From: orangc Date: Wed, 24 Apr 2024 08:51:15 +0300 Subject: [PATCH 20/25] Create _discord.orangc --- domains/_discord.orangc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 domains/_discord.orangc diff --git a/domains/_discord.orangc b/domains/_discord.orangc new file mode 100644 index 000000000..dcdfb506a --- /dev/null +++ b/domains/_discord.orangc @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "orxngc", + "discord": "orangc", + "email": "orangc@proton.me" + }, + "record": { + "TXT": "dh=d27c8c015aa5f1be96c0c468e091a0958dd1c1dc" + } +} From 8bb7305ee9c35e63aa656a7b4a7f05fdfe2ae07f Mon Sep 17 00:00:00 2001 From: orangc Date: Wed, 24 Apr 2024 08:51:50 +0300 Subject: [PATCH 21/25] Create _discord.oc.json --- domains/_discord.oc.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 domains/_discord.oc.json diff --git a/domains/_discord.oc.json b/domains/_discord.oc.json new file mode 100644 index 000000000..ca3feed6f --- /dev/null +++ b/domains/_discord.oc.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "orxngc", + "discord": "orangc", + "email": "orangc@proton.me" + }, + "record": { + "TXT": "dh=a46c846585142f2290edfa87de14a47c01715d15" + } +} From f712d7f960255b3a454c287ef1fde89bd00f5eb9 Mon Sep 17 00:00:00 2001 From: orangc Date: Wed, 24 Apr 2024 08:52:28 +0300 Subject: [PATCH 22/25] Create _discord.uwu.json --- domains/_discord.uwu.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 domains/_discord.uwu.json diff --git a/domains/_discord.uwu.json b/domains/_discord.uwu.json new file mode 100644 index 000000000..2c72d9128 --- /dev/null +++ b/domains/_discord.uwu.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "orxngc", + "discord": "orangc", + "email": "orangc@proton.me" + }, + "record": { + "TXT": "dh=23993c297b87e754fd5660af023aa55579ed324e" + } +} From e233c8fb06412196026965b841fa3bf18407ad00 Mon Sep 17 00:00:00 2001 From: orangc Date: Wed, 24 Apr 2024 08:56:02 +0300 Subject: [PATCH 23/25] Create uwu.json --- domains/uwu.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 domains/uwu.json diff --git a/domains/uwu.json b/domains/uwu.json new file mode 100644 index 000000000..666b729c8 --- /dev/null +++ b/domains/uwu.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "orxngc", + "discord": "orangc", + "email": "orangc@proton.me" + }, + "record": { + "URL": "https://orangc.is-a.dev" + } +} From 8ade560de297afe77383d03064074225988f3d9b Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 14:05:21 +0800 Subject: [PATCH 24/25] Discard changes to domains/uwu --- domains/uwu | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 domains/uwu diff --git a/domains/uwu b/domains/uwu deleted file mode 100644 index 666b729c8..000000000 --- a/domains/uwu +++ /dev/null @@ -1,10 +0,0 @@ -{ - "owner": { - "username": "orxngc", - "discord": "orangc", - "email": "orangc@proton.me" - }, - "record": { - "URL": "https://orangc.is-a.dev" - } -} From f87948c68eda041d956b3b5c10d27aaa2743721c Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 14:05:40 +0800 Subject: [PATCH 25/25] Rename _discord.orangc to _discord.orangc.json --- domains/{_discord.orangc => _discord.orangc.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename domains/{_discord.orangc => _discord.orangc.json} (100%) diff --git a/domains/_discord.orangc b/domains/_discord.orangc.json similarity index 100% rename from domains/_discord.orangc rename to domains/_discord.orangc.json