{"id":40911660,"url":"https://github.com/foxscore/add-icon-to-unitypackage","last_synced_at":"2026-01-22T03:05:43.709Z","repository":{"id":188879381,"uuid":"679407050","full_name":"foxscore/add-icon-to-unitypackage","owner":"foxscore","description":"A GitHub action that adds an icon to you UnityPackage file","archived":false,"fork":false,"pushed_at":"2024-10-31T08:29:22.000Z","size":106,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-10T07:23:12.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foxscore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-16T19:12:31.000Z","updated_at":"2025-06-23T10:12:22.000Z","dependencies_parsed_at":"2024-01-18T17:01:54.500Z","dependency_job_id":"0b27167c-f6ba-4bb3-b3a0-f80d4b1444a0","html_url":"https://github.com/foxscore/add-icon-to-unitypackage","commit_stats":null,"previous_names":["foxscore/add-icon-to-unitypackage"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/foxscore/add-icon-to-unitypackage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxscore%2Fadd-icon-to-unitypackage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxscore%2Fadd-icon-to-unitypackage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxscore%2Fadd-icon-to-unitypackage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxscore%2Fadd-icon-to-unitypackage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foxscore","download_url":"https://codeload.github.com/foxscore/add-icon-to-unitypackage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxscore%2Fadd-icon-to-unitypackage/sbom","scorecard":{"id":408243,"data":{"date":"2025-08-11","repo":{"name":"github.com/foxscore/add-icon-to-unitypackage","commit":"dd83ae867035514be5558f26c48869a676e9366c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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/25 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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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 'main'"],"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"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T21:56:32.711Z","repository_id":188879381,"created_at":"2025-08-18T21:56:32.712Z","updated_at":"2025-08-18T21:56:32.712Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28651824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":[],"created_at":"2026-01-22T03:05:43.125Z","updated_at":"2026-01-22T03:05:43.705Z","avatar_url":"https://github.com/foxscore.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Set UnityPackage Import Thumbnail\n\n![example image](resources/example.png)\n\n## Licensing\n\n- Licensed under [GNU GPL v3 or later](https://spdx.org/licenses/GPL-3.0-or-later.html).\n- The contents of the `dist` folder are unlincensed, and are generated by [ncc](https://www.npmjs.com/package/@vercel/ncc).\n\n## Inputs\n\n| Required | Parameter                       | Description                                  | Type                    | Default |\n| :------: | :------------------------------ | :------------------------------------------- | :---------------------- | :------ |\n|    ✓     | `package_path`                  | Path to the UnityPackage.                    | `string`                |         |\n|    ✓     | `icon_path`                     | Path to the icon file. Must be a `png`.     | `string`                |         |\n|          | `package_not_found_behavior`    | What to do if the package file is not found. | [`behavior`](#behavior) | `fail`  |\n|          | `icon_not_found_behavior`       | What to do if the icon file is not found.    | [`behavior`](#behavior) | `fail`  |\n|          | `icon_already_present_behavior` | What to do if an icon is already present.    | [`behavior`](#behavior) | `fail`  |\n\n### Behavior\n\n| Value    | Description                          |\n| -------- | ------------------------------------ |\n| `fail`   | Throws an error, stops the workflow. |\n| `warn`   | Prints a warning, skips this action. |\n| `ignore` | Do nothing, skip this action.        |\n\n## Setup\n\nAdd the following snippet to your workflow file, with the appropriate parameters:\n\n```yml\n- name: Add Icon to UnityPackage\n  uses: foxscore/add-icon-to-unitypackage@v1\n  with:\n    package_path: 'path/to/your/package.unitypackage'\n    icon_path: 'path/to/your/icon.png'\n    package_not_found_behavior: 'fail'\n    icon_not_found_behavior: 'fail'\n    icon_already_present_behavior: 'fail'\n```\n\n### Example\n\n\u003e **Assuming that you**\n\u003e\n\u003e - have a file called `icon.png` in the `resources` folder.\n\u003e - are using the [VPM Package Template](https://github.com/vrchat-community/template-package), in which case the file to edit is `.github/workflows/release.yml`.\n\n```yml\n    # [...]\n\n      - name: Create UnityPackage\n        uses: pCYSl5EDgo/create-unitypackage@cfcd3cf0391a5ef1306342794866a9897c32af0b\n        with:\n          package-path: ${{ env.unityPackage }}\n          include-files: metaList\n        \n        # This is where we insert the action\n      - name: Add Icon to UnityPackage\n        uses: foxscore/add-icon-to-unitypackage@v1\n        with:\n          package_path: ${{ env.unityPackage }}\n          icon_path: 'resources/icon.png'\n        # end of action\n        \n      - name: Make Release\n        uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5\n        with:\n          tag_name: ${{ steps.version.outputs.prop }}\n          files: |\n            ${{ env.zipFile }}\n            ${{ env.unityPackage }}\n            Packages/${{ env.packageName }}/package.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxscore%2Fadd-icon-to-unitypackage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxscore%2Fadd-icon-to-unitypackage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxscore%2Fadd-icon-to-unitypackage/lists"}