diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index b8557dfa..94c9af8a 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -9,14 +9,20 @@ jobs: CLAAssistant: runs-on: ubuntu-latest steps: + - id: create_token + uses: tibdex/github-app-token@v2 + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.PRIVATE_KEY }} + - name: "CLA Assistant" if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' # Beta Release uses: contributor-assistant/github-action@v2.4.0 env: - GITHUB_TOKEN: ${{ secrets.BOT }} + GITHUB_TOKEN: ${{ steps.create_token.outputs.token }} # the below token should have repo scope and must be manually added by you in the repository's secret - PERSONAL_ACCESS_TOKEN: ${{ secrets.BOT }} + PERSONAL_ACCESS_TOKEN: ${{ steps.create_token.outputs.token }} with: path-to-signatures: 'signatures-v2.json' path-to-document: 'https://github.com/open-domains/register/blob/main/terms.md' # e.g. a CLA or a DCO document @@ -25,3 +31,27 @@ jobs: allowlist: od-bot,bot*,Omxpro remote-organization-name: 'open-domains' remote-repository-name: 'cla' + + - name: add CLA signed + uses: actions-ecosystem/action-add-labels@v1 + if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' + with: + labels: "CLA Signed" + github_token: ${{ steps.create_token.outputs.token }} + + - name: remove CLA required + uses: actions-ecosystem/action-remove-labels@v1 + if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' + with: + labels: "CLA Required" + github_token: ${{ steps.create_token.outputs.token }} + + - if: ${{ failure() }} + name: Add CLA required + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: "CLA Required" + github_token: ${{ steps.create_token.outputs.token }} + + + diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..3959b241 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,32 @@ +name: Close stale issues and PRs +on: + schedule: + - cron: "30 1 * * *" + workflow_dispatch: + issue_comment: + types: [created] + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - id: create_token + uses: tibdex/github-app-token@v2 + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.PRIVATE_KEY }} + + - uses: actions/stale@v8 + with: + stale-issue-message: "This issue is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 7 days." + stale-pr-message: "This PR is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 11 days." + close-issue-message: "This issue was closed because it has been stale for 17 days with no activity." + close-pr-message: "This PR was closed because it has been stale for 14 days with no activity." + days-before-issue-stale: 10 + days-before-pr-stale: 3 + days-before-issue-close: 17 + days-before-pr-close: 14 + exempt-pr-labels: not-stale + exempt-issue-labels: not-stale + stale-pr-label: "Awaiting Response" + repo-token: ${{ steps.create_token.outputs.token }} diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 9f45e5b0..c6bf9fca 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -3,14 +3,6 @@ name: Validation on: pull_request: - push: - branches: [main] - paths: - - "domains/**" - - ".github/workflows/validation.yml" - - "dnsconfig.js" - - workflow_dispatch: concurrency: group: ${{ github.ref }}-validation @@ -23,21 +15,89 @@ jobs: steps: - uses: actions/checkout@v4 + - id: create_token + uses: tibdex/github-app-token@v2 + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.PRIVATE_KEY }} + - name: Check uses: koenrh/dnscontrol-action@v3 with: args: check config_file: "dnsconfig.js" + + - name: add Validated DNS + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: "Validated DNS" + github_token: ${{ steps.create_token.outputs.token }} + + - name: remove Invalid DNS + uses: actions-ecosystem/action-remove-labels@v1 + with: + labels: "Invalid DNS" + github_token: ${{ steps.create_token.outputs.token }} + + + - if: ${{ failure() }} + name: fa + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: "Invalid DNS" + github_token: ${{ steps.create_token.outputs.token }} + + - name: remove Validated DNS + if: ${{ failure() }} + uses: actions-ecosystem/action-remove-labels@v1 + with: + labels: "Validated DNS" + github_token: ${{ steps.create_token.outputs.token }} + + json: name: JSON runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - id: create_token + uses: tibdex/github-app-token@v2 + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.PRIVATE_KEY }} + - name: JSON Syntax Check uses: limitusus/json-syntax-check@v2 with: pattern: "\\.json$" env: BASE: "domains/" + + - name: add Validated JSON + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: "Validated JSON" + github_token: ${{ steps.create_token.outputs.token }} + + - name: remove invalid JSON + uses: actions-ecosystem/action-remove-labels@v1 + with: + labels: "Invalid JSON" + github_token: ${{ steps.create_token.outputs.token }} + + + - if: ${{ failure() }} + name: fa + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: "Invalid JSON" + github_token: ${{ steps.create_token.outputs.token }} + + - name: remove Validated JSON + if: ${{ failure() }} + uses: actions-ecosystem/action-remove-labels@v1 + with: + labels: "Validated JSON" + github_token: ${{ steps.create_token.outputs.token }} diff --git a/domains/*.lsmithx2.localplayer.dev.json b/domains/*.lsmithx2.localplayer.dev.json new file mode 100644 index 00000000..81e3a57b --- /dev/null +++ b/domains/*.lsmithx2.localplayer.dev.json @@ -0,0 +1,14 @@ +{ + "domain": "localplayer.dev", + "subdomain": "*.lsmithx2", + + "owner": { + "email": "lsmithx2@gmail.com" + }, + + "record": { + "A": ["109.169.71.157"] + }, + + "proxied": false +} diff --git a/domains/banana.is-cool.dev.json b/domains/banana.is-cool.dev.json index 1667e99a..d838794d 100644 --- a/domains/banana.is-cool.dev.json +++ b/domains/banana.is-cool.dev.json @@ -5,14 +5,13 @@ "subdomain": "banana", "owner": { - "repo": "https://github.com/BANanaD3V/bananadev-ml", - "email": "supnedoelstudios@gmail.com" + "email": "banana@banana.is-cool.dev" }, "record": { "A": ["185.199.108.153", "185.199.109.153", "185.199.110.153", "185.199.111.153"], - "MX": ["inbound-smtp.skiff.com"], - "TXT": ["v=spf1 include:zagegrk0n8gpukn.spf.skiff.com -all", "google-site-verification=p8KKFOnE9EGF3AATRxZmA1GQDVchhaYSOSYaiN3ZzzM"] + "MX": ["mx1.improvmx.com", "mx2.improvmx.com"], + "TXT": ["v=spf1 include:spf.improvmx.com ~all", "google-site-verification=p8KKFOnE9EGF3AATRxZmA1GQDVchhaYSOSYaiN3ZzzM"] }, "proxied": false diff --git a/domains/comi.is-local.org.json b/domains/comi.is-local.org.json index 17d4c09b..9e0e2c39 100644 --- a/domains/comi.is-local.org.json +++ b/domains/comi.is-local.org.json @@ -7,7 +7,7 @@ }, "record": { - "CNAME": ["comi-xf.github.io"] + "NS": ["galilea.ns.cloudflare.com","otto.ns.cloudflare.com"] }, "proxied": false diff --git a/domains/ke46138.is-not-a.dev.json b/domains/ke46138.is-not-a.dev.json new file mode 100644 index 00000000..a37ec2ea --- /dev/null +++ b/domains/ke46138.is-not-a.dev.json @@ -0,0 +1,19 @@ +{ + "description": "ke46138 page. I will use this subdomain for vnc, http, mail", + + "domain": "is-not-a.dev", + "subdomain": "ke46138", + + "owner": { + "repo": "https://github.com/ke46138/", + "email": "ke46138@gmail.com" + }, + + "record": { + "A": ["176.215.57.81"], + "MX": ["app.ke46138.is-not-a.dev", "mail.ke46138.is-not-a.dev"], + "TXT": ["dkim._domainkey.ke46138.is-not-a.dev = v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD3/KaOfeyLlPY+I8IgTrsop9jT,GL5EtfVKWi7pPI6wmJAJIVH14fvIcMaHpFBY53gD0noZsBSPCNYwqM0VMNH8cnUg,+W2LpNjrYhZxIHWICU5N2jJKfJ7hADxOMVCgm8bs46yUVS3mZqqcorCPqN5djCgq,wLFgGa8y7+AkYVFoTQIDAQAB", "ke46138.is-not-a.dev = v=spf1 mx ~all", "_dmarc.ke46138.is-not-a.dev = v=DMARC1; p=quarantine; adkim=r; aspf=r"] + }, + + "proxied": false +} diff --git a/domains/mc.aquatica.localplayer.dev.json b/domains/mc.aquatica.localplayer.dev.json new file mode 100644 index 00000000..a4322e9d --- /dev/null +++ b/domains/mc.aquatica.localplayer.dev.json @@ -0,0 +1,16 @@ +{ + "description": "Used to allow the Minecraft Server for the Aquatica server to be accessed via domain rather than IP", + "domain": "localplayer.dev", + "subdomain": "mc.aquatica", + + "owner": { + "repo": "https://github.com/charlesobird/register", + "email": "charlesobird+github@outlook.com" + }, + + "record": { + "A": ["141.94.1.0"] + }, + + "proxied": false +} diff --git a/domains/navi.cawolfadmin.is-not-a.dev.json b/domains/navi.cawolfadmin.is-not-a.dev.json deleted file mode 100644 index 5a4725f0..00000000 --- a/domains/navi.cawolfadmin.is-not-a.dev.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "domain": "is-not-a.dev", - "subdomain": "navi.cawolfadmin", - - "owner": { - "email": "camilozambranovotto@hotmail.com" - }, - - "record": { - "A": ["129.213.49.130"] - }, - - "proxied": true -} diff --git a/domains/raene.is-cool.dev.json b/domains/raene.is-cool.dev.json new file mode 100644 index 00000000..e55bc860 --- /dev/null +++ b/domains/raene.is-cool.dev.json @@ -0,0 +1,17 @@ +{ + "description": "Simply a domain name to use in testing live apis that require domain names for ssl, e.g telegram mini bot", + + "domain": "is-cool.dev", + "subdomain": "raene", + + "owner": { + "email": "bob.salau@gmail.com" + }, + + "record": { + "A": ["167.172.13.246"] + }, + + "proxied": false +} + diff --git a/domains/wes.is-cool.dev.json b/domains/wes.is-cool.dev.json new file mode 100644 index 00000000..5f196273 --- /dev/null +++ b/domains/wes.is-cool.dev.json @@ -0,0 +1,17 @@ +{ + "description": "Personal website", + + "domain": "is-cool.dev", + "subdomain": "wes", + + "owner": { + "repo": "https://github.com/westhecool", + "email": "wesley@westhedev.xyz" + }, + + "record": { + "CNAME": "wesley-is-cool-dev.pages.dev" + }, + + "proxied": false +} diff --git a/domains/wesley.is-cool.dev.json b/domains/wesley.is-cool.dev.json new file mode 100644 index 00000000..cd2eb820 --- /dev/null +++ b/domains/wesley.is-cool.dev.json @@ -0,0 +1,17 @@ +{ + "description": "Personal website", + + "domain": "is-cool.dev", + "subdomain": "wesley", + + "owner": { + "repo": "https://github.com/westhecool", + "email": "wesley@westhedev.xyz" + }, + + "record": { + "CNAME": "wesley-is-cool-dev.pages.dev" + }, + + "proxied": false +} diff --git a/domains/wisard-gaming.is-not-a.dev.json b/domains/wisard-gaming.is-not-a.dev.json new file mode 100644 index 00000000..65944ef9 --- /dev/null +++ b/domains/wisard-gaming.is-not-a.dev.json @@ -0,0 +1,16 @@ +{ + "description": "", + + "domain": "is-not-a.dev", + "subdomain": "wisard-gaming", + + "owner": { + "repo": "https://github.com/ShadowGaming100" + }, + + "record": { + "NS": ["darwin.ns.cloudflare.com", "mallory.ns.cloudflare.com"] + }, + + "proxied": false +} diff --git a/domains/yash-dj-films-and-studio.is-local.org.json b/domains/yash-dj-films-and-studio.is-local.org.json index d2e7e836..391b86b3 100644 --- a/domains/yash-dj-films-and-studio.is-local.org.json +++ b/domains/yash-dj-films-and-studio.is-local.org.json @@ -9,7 +9,7 @@ }, "record": { - "NS": ["peyton.ns.cloudflare.com", "dorthy.ns.cloudflare.com"] + "NS": ["darwin.ns.cloudflare.com", "mallory.ns.cloudflare.com"] }, "proxied": false