{"id":46678664,"url":"https://github.com/mattdavis0351/packet-create-device-batch","last_synced_at":"2026-03-08T23:35:34.153Z","repository":{"id":65160823,"uuid":"252101623","full_name":"mattdavis0351/packet-create-device-batch","owner":"mattdavis0351","description":"GitHub Action to create a batch of devices within a Packet.com project","archived":false,"fork":false,"pushed_at":"2020-04-03T00:43:01.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-18T00:06:40.878Z","etag":null,"topics":["actions","cloud","deployment-automation","github-actions","packet"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/mattdavis0351.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}},"created_at":"2020-04-01T07:21:26.000Z","updated_at":"2020-04-03T00:41:41.000Z","dependencies_parsed_at":"2023-01-13T15:44:09.069Z","dependency_job_id":null,"html_url":"https://github.com/mattdavis0351/packet-create-device-batch","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"6378dd4203d1e647fa499929c41d11944197dd63"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mattdavis0351/packet-create-device-batch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdavis0351%2Fpacket-create-device-batch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdavis0351%2Fpacket-create-device-batch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdavis0351%2Fpacket-create-device-batch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdavis0351%2Fpacket-create-device-batch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattdavis0351","download_url":"https://codeload.github.com/mattdavis0351/packet-create-device-batch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattdavis0351%2Fpacket-create-device-batch/sbom","scorecard":{"id":625753,"data":{"date":"2025-08-11","repo":{"name":"github.com/mattdavis0351/packet-create-device-batch","commit":"6378dd4203d1e647fa499929c41d11944197dd63"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3 to python:3@sha256:50cbf8e58ca53a806b99250b1ba2d16c19433e8c42e7eb4ac4ea924b095e280b","Warn: pipCommand not pinned by hash: Dockerfile:4","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-21T06:24:19.658Z","repository_id":65160823,"created_at":"2025-08-21T06:24:19.659Z","updated_at":"2025-08-21T06:24:19.659Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30277073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["actions","cloud","deployment-automation","github-actions","packet"],"created_at":"2026-03-08T23:35:31.834Z","updated_at":"2026-03-08T23:35:34.144Z","avatar_url":"https://github.com/mattdavis0351.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Actions for creating a batch of devices within projects on Packet.com\n\n## Automate your infrastructure\n\nThis GitHub Action will create a new device batch in an existing project on [packet.com](https://packet.com). Devices are compute resources available within your organization projects.\n\n# Creating devices\n\nWith this action you can automate your workflow to by provisioning multiple devices inside of projects using the [packet.com api](https://api.packet.net).\n\nTo use this action you will first need an [authentication token](https://www.packet.com/developers/api/authentication/) which can be generated through the [Packet Portal](https://app.packet.net/login?redirect=%2F%3F__woopraid%3DjUPDKi0tqtym).\n\nYou will also need a public/private key pair. [Learn how to generate keys](https://www.packet.com/developers/docs/servers/key-features/ssh-keys/) for either a user or a project.\n\n**NEVER share your private key with anyone!**\n\n**Packet.com is NOT a free service, so you will be asked to provide billing information. This action will NOT have access to that information.**\n\n## Sample workflow that uses the packet-create-project action\n\n```yaml\n# File: .github/workflows/workflow.yml\n\non: [push]\n\nname: Packet Project Sample\n\njobs:\n  create-new-device:\n    runs-on: ubuntu-latest\n    name: Creating new device in existing packet project\n    steps:\n      - uses: mattdavis0351/packet-create-device-batch@v1\n        with:\n          API_key: ${{ secrets.PACKET_API_KEY }}\n          project_name: my-project\n          host_names: \"Host-1, Host-2, Host-3\"\n          plan: \"t3.small.x86\"\n          facility: \"sjc1\"\n          operating_system: \"ubuntu_19_04\"\n          quantity: 3\n          spot_instance: true\n          spot_price_max: .50\n          user_ssh_keys: ${{ secrets.PACKET_PUBLIC_KEY }}\n```\n\n## Available Inputs\n\n| Input              | Description                                                                                                                       | Default Value       | Required           |\n| ------------------ | --------------------------------------------------------------------------------------------------------------------------------- | ------------------- | ------------------ |\n| `API_key`          | Packet.com API authorization token                                                                                                | No key supplied     | :white_check_mark: |\n| `project_name`     | Desired name for new project                                                                                                      | default             | :white_check_mark: |\n| `host_names`       | Desired host names for new device. If specifying more than one device us a comma separated list.                                  | GitHub Actions Host | :white_check_mark: |\n| `plan`             | Desired server type for device                                                                                                    | default             | :white_check_mark: |\n| `facility`         | Geographical location for device                                                                                                  | default             | :white_check_mark: |\n| `operating_system` | Desired operating system for device                                                                                               | default             | :white_check_mark: |\n| `quantity`         | Number of desired devices in the batch. **if you specify more than one host name this number must match the amount of hostnames** | 1                   | :x:                |\n| `spot_instance`    | Create devices as spot instances                                                                                                  | false               | :x:                |\n| `spot_price_max`   | Maximum bid for spot instances                                                                                                    | 1                   | :x:                |\n| `user_ssh_keys`    | SSH keys for any user account you wish to add to device                                                                           |                     | :x:                |\n| `project_ssh_keys` | Project level SSH keys for device                                                                                                 |                     | :x:                |\n\n## Outputs from action\n\nThis action does not supply any outputs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattdavis0351%2Fpacket-create-device-batch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattdavis0351%2Fpacket-create-device-batch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattdavis0351%2Fpacket-create-device-batch/lists"}