{"id":34123171,"url":"https://github.com/rode/create-build-occurrence-action","last_synced_at":"2026-05-29T03:31:35.930Z","repository":{"id":47098981,"uuid":"364361228","full_name":"rode/create-build-occurrence-action","owner":"rode","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-13T17:32:19.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-17T07:56:04.517Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/rode.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}},"created_at":"2021-05-04T19:14:49.000Z","updated_at":"2021-09-13T17:32:22.000Z","dependencies_parsed_at":"2022-09-23T11:11:16.779Z","dependency_job_id":null,"html_url":"https://github.com/rode/create-build-occurrence-action","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rode/create-build-occurrence-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rode%2Fcreate-build-occurrence-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rode%2Fcreate-build-occurrence-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rode%2Fcreate-build-occurrence-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rode%2Fcreate-build-occurrence-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rode","download_url":"https://codeload.github.com/rode/create-build-occurrence-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rode%2Fcreate-build-occurrence-action/sbom","scorecard":{"id":782114,"data":{"date":"2025-08-11","repo":{"name":"github.com/rode/create-build-occurrence-action","commit":"aa42d82c85d954d1ce1616c1a1b1ae1be1264cd8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Code-Review","score":6,"reason":"Found 4/6 approved changesets -- score normalized to 6","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish.yaml:1","Warn: no topLevel permission defined: .github/workflows/test.yaml:1","Info: no jobLevel write permissions found"],"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":"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":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/rode/create-build-occurrence-action/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/rode/create-build-occurrence-action/publish.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/rode/create-build-occurrence-action/publish.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yaml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/rode/create-build-occurrence-action/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/rode/create-build-occurrence-action/test.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/rode/create-build-occurrence-action/test.yaml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:14: pin your Docker image by updating gcr.io/distroless/static:latest to gcr.io/distroless/static:latest@sha256:2e114d20aa6371fd271f854aa3d6b2b7d2e70e797bb3ea44fb677afec60db22c","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   1 out of   1 goCommand 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":"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":"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":"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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.2.1 not signed: https://api.github.com/repos/rode/create-build-occurrence-action/releases/48571773","Warn: release artifact v0.2.0 not signed: https://api.github.com/repos/rode/create-build-occurrence-action/releases/46415175","Warn: release artifact v0.1.1 not signed: https://api.github.com/repos/rode/create-build-occurrence-action/releases/42607087","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/rode/create-build-occurrence-action/releases/42569750","Warn: release artifact v0.2.1 does not have provenance: https://api.github.com/repos/rode/create-build-occurrence-action/releases/48571773","Warn: release artifact v0.2.0 does not have provenance: https://api.github.com/repos/rode/create-build-occurrence-action/releases/46415175","Warn: release artifact v0.1.1 does not have provenance: https://api.github.com/repos/rode/create-build-occurrence-action/releases/42607087","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/rode/create-build-occurrence-action/releases/42569750"],"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 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"}},{"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":"Vulnerabilities","score":0,"reason":"24 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0236 / GHSA-h86h-8ppg-mxmh","Warn: Project is vulnerable to: GO-2021-0238 / GHSA-83g2-8m93-v3w7","Warn: Project is vulnerable to: GO-2022-0288","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GO-2023-2153 / GHSA-m425-mq94-257g / GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T05:08:47.548Z","repository_id":47098981,"created_at":"2025-08-23T05:08:47.548Z","updated_at":"2025-08-23T05:08:47.548Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33635961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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":"2025-12-14T22:04:31.695Z","updated_at":"2026-05-29T03:31:35.925Z","avatar_url":"https://github.com/rode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-build-occurrence-action\n\nA GitHub Action to create a build occurrence during a workflow run.\nIt's intended to be used along with [Rode](https://github.com/rode/rode) and an instance of the [build collector](https://github.com/rode/collector-build).\n\n## Use\n\n```yaml\n  - name: Create Build Occurrence\n    uses: rode/create-build-occurrence-action@v0.1.0\n    with:\n      artifactId: harbor.example.com/rode-demo/rode-demo-node-app@${{ steps.build.outputs.digest }}\n      artifactNames: |\n        harbor.example.com/rode-demo/rode-demo-node-app:v1.2.3\n      buildCollectorHost: ${{ env.BUILD_COLLECTOR_HOST }}\n      githubToken: ${{ secrets.GITHUB_TOKEN }}\n```\n\n### Inputs\n\n| Input                    | Description                                                                                  | Default |\n|--------------------------|----------------------------------------------------------------------------------------------|---------|\n| `artifactId`             | The identifier of the created artifact                                                       | N/A     |\n| `artifactNames`          | A list of alternative names for the artifact. If using Docker, these are any additional tags | `\"\"`    |\n| `artifactNamesDelimiter` | Used to separate artifactNames                                                               | `\\n`    |\n| `buildCollectorHost`     | The build collector hostname                                                                 | N/A     |\n| `buildCollectorInsecure` | When set, the connection to the build collector will not use TLS                             | `false` |\n| `githubToken`            | GitHub token used to pull information about the workflow and job                             | N/A     |\n\n### Outputs\n\n| Output | Description                                       |\n|--------|---------------------------------------------------|\n| `id`   | The unique identifier of the new build occurrence |\n\n## Local Development\n\n1. Configuration for the action is sourced from the environment, the easiest way to run locally is to set the following environment variables,\nor place them in a file called `.env`:\n    ```\n    ARTIFACT_ID=\"test.foo@sha256:123\"\n    \n    BUILD_COLLECTOR_HOST=rode-collector-build.rode-demo.svc.cluster.local:8082\n    BUILD_COLLECTOR_INSECURE=true\n    \n    GITHUB_ACTOR=\"foo@example.com\"\n    GITHUB_SHA=\"hash\"\n    GITHUB_JOB=job-name\n    GITHUB_RUN_ID=1234\n    GITHUB_SERVER_URL='https://github.com'\n    GITHUB_TOKEN='topsecret'\n    GITHUB_REPOSITORY=rode/demo-app\n    ```\n1. Then `env $(cat .env | xargs) go run action.go main.go` or simply `go run` if the variables are already set\n1. Update any formatting issues with `make fmt`\n1. Run the tests with `make test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frode%2Fcreate-build-occurrence-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frode%2Fcreate-build-occurrence-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frode%2Fcreate-build-occurrence-action/lists"}