{"id":17617346,"url":"https://github.com/twistedpair/codeship-env-adapter","last_synced_at":"2025-08-28T17:19:23.569Z","repository":{"id":44744454,"uuid":"239363132","full_name":"twistedpair/codeship-env-adapter","owner":"twistedpair","description":"Define the same environment variables as Codeship in your workflow","archived":false,"fork":false,"pushed_at":"2025-06-16T09:32:59.000Z","size":6997,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-06T11:11:28.287Z","etag":null,"topics":["action","codeship","github-action","github-actions","github-workflows","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/twistedpair.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-02-09T19:41:42.000Z","updated_at":"2024-12-05T20:34:42.000Z","dependencies_parsed_at":"2025-04-13T22:08:28.438Z","dependency_job_id":"a7717c9c-e52b-4838-a66a-63c624b54c99","html_url":"https://github.com/twistedpair/codeship-env-adapter","commit_stats":{"total_commits":14,"total_committers":4,"mean_commits":3.5,"dds":0.3571428571428571,"last_synced_commit":"731867890f5bdb0e8a0425604199defbe6b640f4"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/twistedpair/codeship-env-adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twistedpair%2Fcodeship-env-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twistedpair%2Fcodeship-env-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twistedpair%2Fcodeship-env-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twistedpair%2Fcodeship-env-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twistedpair","download_url":"https://codeload.github.com/twistedpair/codeship-env-adapter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twistedpair%2Fcodeship-env-adapter/sbom","scorecard":{"id":904015,"data":{"date":"2025-08-18","repo":{"name":"github.com/twistedpair/codeship-env-adapter","commit":"8e3c7115c39fa01c7d30a99278b8047c6589e819"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":3.5,"checks":[{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pr-workflow.yml: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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 2/18 approved changesets -- score normalized to 1","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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-workflow.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/twistedpair/codeship-env-adapter/pr-workflow.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-workflow.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/twistedpair/codeship-env-adapter/pr-workflow.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand 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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-x4c5-c7rf-jjgv","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/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 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T16:41:49.505Z","repository_id":44744454,"created_at":"2025-08-24T16:41:49.505Z","updated_at":"2025-08-24T16:41:49.505Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272527442,"owners_count":24949838,"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-08-28T02:00:10.768Z","response_time":74,"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":["action","codeship","github-action","github-actions","github-workflows","typescript"],"created_at":"2024-10-22T19:12:41.424Z","updated_at":"2025-08-28T17:19:23.529Z","avatar_url":"https://github.com/twistedpair.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codeship-env-adapter\n\nThis action defines the same rich [environment variables as Codeship Pro](https://documentation.codeship.com/pro/builds-and-configuration/environment-variables/#default-environment-variables) in your GitHub Workflow.\n\nThe action enables running existing Codeship scripts that reference variables like `CI_COMMIT_MESSAGE`, without having to refactor them to [GitHub Workflows Syntax](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions). Using this action, you can share scripts across your GitHub Workflow and Codeship builds, getting the best of both worlds 🎉.\n\n## Input arguments\n\n### `github-token`\n(Optional) A github token is required to populate the `CI_COMMIT_MESSAGE` for workflows triggered by a pull_request event \n\n### `project-id`\n(Optional) If provided `project-id` will be used to populate `CI_PROJECT_ID` in the github environment\n\n## Example Workflow Step\n\n```yaml\nname: Where are my env var?\nsteps:\n  - uses: twistedpair/codeship-env-adapter@v1\n    with:\n      # Provide github-token if you need to populate commit messages for pull_request event triggers\n      github-token: ${{ secrets.GITHUB_TOKEN }}\n      # provide your project id, if you fancy\n      project-id: '123abc-project-id'\n\n  - name: Playback some env vars\n    run: echo \"Hi, I'm build $CI_COMMIT_ID\"\n```\n## Covered Environment Variables\n\n- `CI` - will be `true`\n- `CI_BRANCH` - current ref branch\n- `CI_BUILD_APPROVED` - will be `false`\n- `CI_BUILD_ID` - uses ~GitHub build id~ per job UUID\n- `CI_COMMITTER_EMAIL`\n- `CI_COMMITTER_USERNAME`\n- `CI_COMMIT_DESCRIPTION` - **unimplemented** (blank)\n- `CI_COMMIT_ID`- e.g. `5fd8d0bfbbfa4efcdc663440da1b2e37a86a306a`\n- `CI_COMMIT_MESSAGE`\n- `CI_NAME` - will be `github`\n- `CI_PROJECT_ID` - only set if provided as `project-id` in Action `with` config\n- `CI_PR_NUMBER` - repo specific pull request number (pull_request events only)\n- `CI_PULL_REQUEST` - github url of the pull request associated with the triggered event (pull_request events only)\n- `CI_REPO_NAME` - repo short name (not the full name) e.g. `my-repo`\n- `CI_STRING_TIME` - e.g. `2020-02-09T22:33:55Z`\n- `CI_TIMESTAMP` - e.g. `1581287635`\n\nIf you would like to help define additional behaviors, please submit a PR.\n\n\n## What this DOESN'T do\n\nThis action will **NOT** run `codeship-steps.yml` or `codeship-services.yml` files in GitHub Workflows.\n\nIf you want to run step files, run your builds in Codeship.\n\n\n## Disclaimers\nThis action is not endorsed or reviewed by Codeship. \nUse at your own risk. The author is not employed by either GitHub or Codeship.\n\n- \"Codeship\" and \"Codeship Pro\" are legal marks of CloudBees, Inc.\n- \"GitHub\" and \"GitHub Workflows\" are the legal marks of GitHub, Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwistedpair%2Fcodeship-env-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwistedpair%2Fcodeship-env-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwistedpair%2Fcodeship-env-adapter/lists"}