{"id":23626383,"url":"https://github.com/yetanalytics/actions","last_synced_at":"2025-09-05T08:23:45.432Z","repository":{"id":41869747,"uuid":"409995546","full_name":"yetanalytics/actions","owner":"yetanalytics","description":"GH Actions for use in Yet Analytics projects","archived":false,"fork":false,"pushed_at":"2022-10-24T18:32:20.000Z","size":56,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-18T17:08:56.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yetanalytics.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":"2021-09-24T14:33:16.000Z","updated_at":"2022-07-26T21:15:35.000Z","dependencies_parsed_at":"2023-01-20T02:03:48.060Z","dependency_job_id":null,"html_url":"https://github.com/yetanalytics/actions","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/yetanalytics/actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yetanalytics","download_url":"https://codeload.github.com/yetanalytics/actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Factions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273729339,"owners_count":25157412,"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-05T02:00:09.113Z","response_time":402,"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":"2024-12-27T22:53:12.406Z","updated_at":"2025-09-05T08:23:40.407Z","avatar_url":"https://github.com/yetanalytics.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yetanalytics/actions\n\nGH Actions for use in Yet Analytics projects. See the [Tags](https://github.com/yetanalytics/actions/tags) page for the latest version.\n\n# Usage\n\n## `setup-env` - CI/CD Environment Setup Action\n\nInvoke as the first step in a workflow run:\n\n``` yaml\n\n    steps:\n      - name: Setup CI Environment\n        uses: yetanalytics/actions/setup-env@\u003ctag\u003e\n        with:\n            java-version: '11'\n            java-distribution: 'temurin'\n            node-version: '14'\n            clojure-version: '1.10.3.943'\n\n```\n\nDefault options are shown, they may be omitted.\n\nWill do the following:\n\n* ~~Check out the project~~ post v0, the calling workflow is expected to do this.\n* Install Java\n* Install node\n* Install Clojure CLI\n\nProviding an environment suitable for testing and building Clojure(Script) projects.\n\n## `deploy-clojars` - Clojars Deployment Action\n\nInvoke in order to compile a JAR file that will be deployed to Clojars. The JAR will also be stored as a workflow artifact. The following demonstrates a call to this action with all required inputs:\n\n```yaml\n    steps:\n      - name: Deploy to clojars\n        uses: yetanalytics/actions/deploy-clojars@\u003ctag\u003e\n        with:\n          artifact-id: 'my-library'\n          version: '0.1.0'\n          clojars-username: ${{ secrets.CLOJARS_USERNAME }}\n          clojars-deploy-token: ${{ secrets.CLOJARS_DEPLOY_TOKEN }}\n```\n\nThe following is a table of all inputs:\n\nName | Description\n--- | ---\n`artifact-id` | The Clojars Artifact ID (i.e. the name of the lib itself). **Required**\n`version` | The version string. (By Clojars convention, you should remove any prefixes, e.g. the `v` in `v0.1.0`.) **Required**\n`clojars-username` | The Clojars username (should be a GitHub secret). **Required**\n`clojars-deploy-token` | The Clojars deploy token (should be a GitHub secret). **Required**\n`group-id` | The Clojars Group ID. Defaults to `'com.yetanalytics'`.\n`src-dirs` | A quoted array of the source directories. Defaults to `'[\"src/main\"]'`.\n`resource-dirs` | A quoted array of the resource directories. Defaults to `'[\"resources\"]'`. Pass `'[]'` if no resource directories exist.\n`publish` | Whether or not to actually publish to Clojars. Default `true`; turn off for debugging.\n\n## `nvd-scan` - Reusable Vulnerability Scanner Workflow:\n\nInvoke as a workflow job:\n\n``` yaml\n...\n  nvd_scan:\n    uses: yetanalytics/actions/.github/workflows/nvd-scan.yml@\u003ctag\u003e\n    with:\n      classpath-command: 'clojure -Spath -A:any:alias' # include aliases you want to check or omit the input\n      nvd-clojure-version: '1.9.0' # default\n      nvd-config-filename: 'nvd_config.json' # optional JSON config file for custom configuration\n\n  docker:\n    needs:\n      - nvd_scan # prevents docker from running if scan fails\n...\n\n```\n\nWill attempt to run an OWASP dep check via [nvd-clojure](https://github.com/rm-hull/nvd-clojure/blob/master/README.md). If any CVEs are found it will fail. Reports are available as `\u003csha\u003e-nvd-report`\n\n# License\n\nCopyright © 2021-2022 Yet Analytics Inc.\n\nLicensed under the Apache License, Version 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetanalytics%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyetanalytics%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetanalytics%2Factions/lists"}