{"id":22396291,"url":"https://github.com/earthpyy/setup-digitalocean-firewall","last_synced_at":"2025-07-31T12:30:56.730Z","repository":{"id":43870671,"uuid":"445502826","full_name":"earthpyy/setup-digitalocean-firewall","owner":"earthpyy","description":"GitHub Action to temporary add GitHub shared runner IP into DigitalOcean's firewall rule","archived":false,"fork":false,"pushed_at":"2024-01-11T04:02:22.000Z","size":509,"stargazers_count":6,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T16:20:50.932Z","etag":null,"topics":["digitalocean","firewall","firewall-rules"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/earthpyy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"ko_fi":"earthpyy"}},"created_at":"2022-01-07T11:46:31.000Z","updated_at":"2025-03-18T18:19:13.000Z","dependencies_parsed_at":"2023-01-11T17:22:28.763Z","dependency_job_id":null,"html_url":"https://github.com/earthpyy/setup-digitalocean-firewall","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":0.09523809523809523,"last_synced_commit":"570bfcec8c69c6533ffab456e53e1b19bee494ca"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/earthpyy/setup-digitalocean-firewall","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthpyy%2Fsetup-digitalocean-firewall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthpyy%2Fsetup-digitalocean-firewall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthpyy%2Fsetup-digitalocean-firewall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthpyy%2Fsetup-digitalocean-firewall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/earthpyy","download_url":"https://codeload.github.com/earthpyy/setup-digitalocean-firewall/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthpyy%2Fsetup-digitalocean-firewall/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268039843,"owners_count":24185807,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["digitalocean","firewall","firewall-rules"],"created_at":"2024-12-05T06:07:39.578Z","updated_at":"2025-07-31T12:30:56.324Z","avatar_url":"https://github.com/earthpyy.png","language":"JavaScript","funding_links":["https://ko-fi.com/earthpyy"],"categories":[],"sub_categories":[],"readme":"# setup-digitalocean-firewall\n\n![GitHub](https://img.shields.io/github/license/earthpyy/setup-digitalocean-firewall)\n![GitHub CI Status](https://img.shields.io/github/actions/workflow/status/earthpyy/setup-digitalocean-firewall/ci.yml?branch=main)\n![Node Version](https://img.shields.io/badge/node-16-blue)\n\nGitHub Action to temporary add GitHub shared runner IP into DigitalOcean's firewall rule\n\n## Examples\n\n### Basic Usage\n\n```yml\n- name: Setup DigitalOcean firewall\n  uses: earthpyy/setup-digitalocean-firewall@v1\n  with:\n    access-token: ${{ secrets.DO_ACCESS_TOKEN }}\n    firewall-id: eb64eefd-f935-4d75-b0a4-97e3d1dbec87\n```\n\n### Custom Protocol/Port\n\n```yml\n  with:\n    ...\n    ports: '8888/udp'\n```\n\n### Multiple Ports\n\n```yml\n  with:\n    ...\n    ports: '22,8888/udp'\n```\n\n## Inputs\n\n| Key | Required | Default | Description |\n| --- | -------- | ------- | ----------- |\n| `access-token` | Yes | | _DigitalOcean_'s personal access token |\n| `firewall-id` | Yes | | Firewall ID |\n| `ports` | No | `22` | Ports to allow (if no protocol specified, `tcp` is applied) |\n| `dry-run` | No | `false` | Dry run (no firewall change) |\n\n## Secrets\n\n| Key | Description |\n| --- | ----------- |\n| `DO_ACCESS_TOKEN` | _DigitalOcean_'s personal access token |\n\n## Outputs\n\n| Key | Example | Description |\n| --- | ------- | ----------- |\n| `runner-ip` | `1.2.3.4` | IP of GitHub shared runner |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearthpyy%2Fsetup-digitalocean-firewall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fearthpyy%2Fsetup-digitalocean-firewall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearthpyy%2Fsetup-digitalocean-firewall/lists"}