{"id":18888032,"url":"https://github.com/codex-team/action-check-domain","last_synced_at":"2025-04-14T23:08:58.911Z","repository":{"id":53606045,"uuid":"313686193","full_name":"codex-team/action-check-domain","owner":"codex-team","description":"Watch SSL certs and registry date expiring for your domains","archived":false,"fork":false,"pushed_at":"2023-09-19T08:59:03.000Z","size":88,"stargazers_count":39,"open_issues_count":5,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-14T23:08:49.659Z","etag":null,"topics":["action","codex","domain","github-action","github-actions","monitor","ssl","ssl-checker"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codex-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-11-17T17:00:10.000Z","updated_at":"2025-02-02T16:54:33.000Z","dependencies_parsed_at":"2024-01-23T21:15:55.969Z","dependency_job_id":"fe158f09-e79b-4d84-a902-8e57a0d6602c","html_url":"https://github.com/codex-team/action-check-domain","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.09090909090909094,"last_synced_commit":"f01efda3949e9dc02364635ce0798c469aa99be7"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Faction-check-domain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Faction-check-domain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Faction-check-domain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codex-team%2Faction-check-domain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codex-team","download_url":"https://codeload.github.com/codex-team/action-check-domain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975316,"owners_count":21192209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","codex","domain","github-action","github-actions","monitor","ssl","ssl-checker"],"created_at":"2024-11-08T07:41:35.511Z","updated_at":"2025-04-14T23:08:58.888Z","avatar_url":"https://github.com/codex-team.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Domain and SSL cert watcher\n\nWatch SSL certs and registry date expiring for your domains.\n\n![banner](./assets/banner.png)\n\n## Inputs\n\n### `url`\n\nSite domain to be checked (with protocol).\n\n## Outputs\n\n### `ssl-expire-date`\n\nSSL certificate expire date\n\n### `ssl-expire-days-left`\n\nSSL certificate expire number of days left\n\n### `paid-till-date`\n\nRegistry Expiry Date\n\n### `paid-till-days-left`\n\nRegistry Expiry number of days left\n\n## Example usage\n\n```yaml\n- name: Check domain SSL and registry expire date\n  id: check-domain\n  uses: codex-team/action-check-domain@v1\n  with:\n    url`: ${{ matrix.domain }}\n\n- run: echo 'SSL cert has ${{ steps.check-domain.outputs.ssl-expire-days-left }} days left'\n  if: ${{ steps.check-domain.outputs.ssl-expire-days-left }}\n```\n\n### Advanced example\n\nYou can create a workflow based on this action for checking your domains.\n\nRun will be scheduled by cron every day near 8:00 UTC (several minutes later because of github doesn't call your scripts at the time).\n\nIf paid till (or SSL lifespan days) number is below limit (for example 10 days) then will be created a new issue.\n\n```yaml\nname: Check domains\n\non:\n  schedule:\n    - cron:  '0 8 * * *'\n\njobs:\n  hello:\n    runs-on: ubuntu-latest\n    name: Check domain\n    strategy:\n      matrix:\n        domain:\n          - https://codex.so\n          - https://editorjs.io\n    steps:\n      - name: Check domain SSL and registry expire date\n        id: check-domain\n        uses: codex-team/action-check-domain@v1\n        with:\n          url: ${{ matrix.domain }}\n\n      - name: Create an issue if paid till number is below limit \n        if: ${{ steps.check-domain.outputs.paid-till-days-left \u0026\u0026 steps.check-domain.outputs.paid-till-days-left \u003c 10 }}\n        uses: rishabhgupta/git-action-issue@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          title: ⚠️ ${{ matrix.domain }} — registry expiries in ${{ steps.check-domain.outputs.paid-till-days-left }} days\n          body: 'Paid till: `${{ steps.check-domain.outputs.paid-till-date }}`'\n\n      - name: Create an issue if SSL lifespan days number is below limit \n        if: ${{ steps.check-domain.outputs.ssl-expire-days-left \u0026\u0026 steps.check-domain.outputs.ssl-expire-days-left \u003c 10 }}\n        uses: rishabhgupta/git-action-issue@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          title: 🧨 ${{ matrix.domain }} — SSL cert expires in ${{ steps.check-domain.outputs.ssl-expire-days-left }} days\n          body: 'Valid till: `${{ steps.check-domain.outputs.ssl-expire-date }}`'\n``` ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodex-team%2Faction-check-domain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodex-team%2Faction-check-domain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodex-team%2Faction-check-domain/lists"}