{"id":20764443,"url":"https://github.com/eliperelman/now-travis","last_synced_at":"2025-09-13T01:40:19.483Z","repository":{"id":57120603,"uuid":"79818890","full_name":"eliperelman/now-travis","owner":"eliperelman","description":null,"archived":false,"fork":false,"pushed_at":"2017-11-30T15:14:02.000Z","size":148,"stargazers_count":47,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-01T18:58:28.653Z","etag":null,"topics":["now","travis-ci","zeit"],"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/eliperelman.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":"2017-01-23T15:46:45.000Z","updated_at":"2025-06-01T15:50:38.000Z","dependencies_parsed_at":"2022-08-24T11:52:31.115Z","dependency_job_id":null,"html_url":"https://github.com/eliperelman/now-travis","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/eliperelman/now-travis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliperelman%2Fnow-travis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliperelman%2Fnow-travis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliperelman%2Fnow-travis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliperelman%2Fnow-travis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eliperelman","download_url":"https://codeload.github.com/eliperelman/now-travis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliperelman%2Fnow-travis/sbom","scorecard":{"id":372952,"data":{"date":"2025-08-11","repo":{"name":"github.com/eliperelman/now-travis","commit":"23d4cf4d948516bb6afaf2bda48605524a643fd8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"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":"Code-Review","score":3,"reason":"Found 4/12 approved changesets -- score normalized to 3","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":"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":"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 '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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 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":"Vulnerabilities","score":0,"reason":"52 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-pp7h-53gx-mx7r","Warn: Project is vulnerable to: GHSA-832h-xg76-4gv6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-qgfr-5hqp-vrw9","Warn: Project is vulnerable to: GHSA-hr2v-3952-633q","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-44pw-h2cw-w3vq","Warn: Project is vulnerable to: GHSA-jp4x-w63m-7wgm","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-4hpf-3wq7-5rpr","Warn: Project is vulnerable to: GHSA-f522-ffg8-j8r6","Warn: Project is vulnerable to: GHSA-p9w8-2mpq-49h9","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-282f-qqgm-c34q","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-w9mr-4mfr-499f","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-q75g-2496-mxpp","Warn: Project is vulnerable to: GHSA-6fx8-h7jm-663j","Warn: Project is vulnerable to: GHSA-gqgv-6jq5-jjj9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-xfhh-g9f5-x4m4","Warn: Project is vulnerable to: GHSA-qm95-pgcg-qqfq","Warn: Project is vulnerable to: GHSA-cqmj-92xf-r6r9","Warn: Project is vulnerable to: GHSA-2m39-62fm-q8r3","Warn: Project is vulnerable to: GHSA-mf6x-7mm4-x2g7","Warn: Project is vulnerable to: GHSA-38h8-x697-gh8q","Warn: Project is vulnerable to: GHSA-29xr-v42j-r956","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-g7q5-pjjr-gqvp","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-xc7v-wxcw-j472","Warn: Project is vulnerable to: GHSA-v4rh-8p82-6h5w","Warn: Project is vulnerable to: GHSA-5v72-xg48-5rpm","Warn: Project is vulnerable to: GHSA-72mh-269x-7mh5","Warn: Project is vulnerable to: GHSA-h4j5-c7cj-74xg","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-18T13:25:28.105Z","repository_id":57120603,"created_at":"2025-08-18T13:25:28.105Z","updated_at":"2025-08-18T13:25:28.105Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274907811,"owners_count":25371819,"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-09-12T02:00:09.324Z","response_time":60,"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":["now","travis-ci","zeit"],"created_at":"2024-11-17T10:51:40.406Z","updated_at":"2025-09-13T01:40:19.438Z","avatar_url":"https://github.com/eliperelman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# now-travis\n\nAutomatically deploy to ∆ Now from Travis pushes. Setting up now-travis can:\n\n- Automatically create staging deployments for pull requests\n- Automatically deploy and alias upon pushes to master\n\nWarning: Using now-travis has the potential to create many deployments, enough to blow\nthrough the allotment on the Free plan. It is recommended to only use this on the Pro or\nEnterprise accounts.\n\n## Setup\n\nIn order to use now-travis on a repository, you'll need some keys to authorize it to execute\nactions in Travis. The following set up will walk you through this process.\n\nFirst, you'll need to create a [New personal access token](https://github.com/settings/tokens/new). Give\nthe token a name, and check the `repo` scope checkbox. This will only be used to set the status on pull requests\nwith a ∆ Now URL. Be sure to keep this key ready to paste into an upcoming command.\n\nSecond, head over to [Zeit's API tokens page](https://zeit.co/account#api-tokens) and create a new token. This\nwill be used to create deployments during pull requests and master pushes.\n\nIf your repository doesn't have a `.travis.yml` file, create an empty one now in the root of the repo.\n \nNow we need to encrypt the API keys we generated into the `.travis.yml` file. This is done using a CLI tool. You can\neither install the [travis-ci tool](https://github.com/travis-ci/travis.rb) or the [travis-encrypt npm tool](https://www.npmjs.com/package/travis-encrypt)\nfor encrypting these values.\n\nIf you are using the travis-ci tool, execute the following command in your terminal, substituting `\u003cowner\u003e`, `\u003crepo_name\u003e`,\n`\u003cgh_key\u003e`, and `\u003cnow_key\u003e` with the appropriate values:\n\n```sh\ntravis encrypt -r \u003cowner\u003e/\u003crepo_name\u003e GH_TOKEN=\u003cgk_key\u003e NOW_TOKEN=\u003cnow_key\u003e --add\n```\n\nIf you are using the travis-encrypt tool from npm, execute the following command in your terminal, substituting `\u003cowner\u003e`, `\u003crepo_name\u003e`,\n`\u003cgh_key\u003e`, and `\u003cnow_key\u003e` with the appropriate values: \n\n```sh\ntravis-encrypt --add -r \u003cowner\u003e/\u003crepo_name\u003e GH_TOKEN=\u003cgk_key\u003e NOW_TOKEN=\u003cnow_key\u003e\n```\n\nYour API keys are now encrypted in your `.travis.yml` file. Next, install now-travis in your project:\n\n```sh\n# Execute if using npm\nnpm install --save-dev now-travis\n\n# Execute this instead if you are using yarn\nyarn add --dev now-travis\n```\n\nLet's edit the `.travis.yml` file to automate deployments:\n\n1. Add `after_script` to execute now-travis after the build is done and successful. If you use an alias for\nyour production deployments, add that to the `NOW_ALIAS` environment variable:\n\n```yaml\nafter_script:\n  - NOW_ALIAS=myalias.com node_modules/.bin/now-travis\n```\n\n2. Add `branches` to ensure we only create production deployments when pushing to the master branch:\n\n```yaml\nbranches:\n  only:\n    - master\n```\n\n## Deployment\n\nWhen creating pull requests after a Travis build has been successfully completed, now-travis will create a ∆ Now deployment\nand update the pull request with the staging URL:\n\n![Screenshot](screenshot.png)\n\nClicking on the \"Details\" link will open the page to the staging deployment URL.\n\nIf you want to get the staging URL in subsequent steps of your Travis build, e.g running a [lighthouse-ci](https://github.com/ebidel/lighthouse-ci) test on the stage build, you can instruct `now-travis` to write the URL in a file by passing a `file` argument with the name of the file.\n\n```yaml\n  - NOW_ALIAS=myalias.com node_modules/.bin/now-travis --file=now-staging-url\n```\n\nWith this, the staging URL will be written to a file named `now-staging-url`.\n\nWhen pushing commits to master, now-travis will deploy the build to ∆ Now and alias the deployment using the value specified\nin the `NOW_ALIAS` environment variable. This environment variable is only used on pushes, not pull requests.\n\n## Notes\n\nWhile this module has been tested, it may not work perfectly in every Travis deployment situation. Please test\nit out and report any issues that may arise.\n\nAgain, this package has the ability to create many deployments, potentially more than your Zeit plan allots. Please\nexercise judgement when installing this. By default, following these instructions for now-travis will create a deployment:\n\n- When a pull request is opened\n- When a pull request is re-opened\n- When a new commit is pushed to a pull request\n- When a commit is pushed to the master branch\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliperelman%2Fnow-travis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliperelman%2Fnow-travis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliperelman%2Fnow-travis/lists"}