{"id":17383648,"url":"https://github.com/devourtech/snapshotter","last_synced_at":"2026-02-15T18:33:17.074Z","repository":{"id":48810161,"uuid":"384472729","full_name":"DevourTech/snapshotter","owner":"DevourTech","description":"GitHub action to create custom git tags","archived":false,"fork":false,"pushed_at":"2021-07-10T19:24:48.000Z","size":17,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T00:44:24.478Z","etag":null,"topics":["ci-cd","docker","github-actions","publishing","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/DevourTech.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-07-09T15:06:26.000Z","updated_at":"2021-09-24T19:25:06.000Z","dependencies_parsed_at":"2023-01-05T04:48:21.931Z","dependency_job_id":null,"html_url":"https://github.com/DevourTech/snapshotter","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":0.4117647058823529,"last_synced_commit":"b830a172f5d8b065047cd204f953d6c5da3f14ca"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DevourTech/snapshotter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevourTech%2Fsnapshotter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevourTech%2Fsnapshotter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevourTech%2Fsnapshotter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevourTech%2Fsnapshotter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevourTech","download_url":"https://codeload.github.com/DevourTech/snapshotter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevourTech%2Fsnapshotter/sbom","scorecard":{"id":40069,"data":{"date":"2025-08-11","repo":{"name":"github.com/DevourTech/snapshotter","commit":"b830a172f5d8b065047cd204f953d6c5da3f14ca"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Code-Review","score":2,"reason":"Found 4/15 approved changesets -- score normalized to 2","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":"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":"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":"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":"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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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/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":"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":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":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/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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/DevourTech/snapshotter/ci.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating golang to golang@sha256:2c89c41fb9efc3807029b59af69645867cfe978d2b877d475be0d72f6c6ce6f6","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 containerImage 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":"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 10 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-14T21:17:24.036Z","repository_id":48810161,"created_at":"2025-08-14T21:17:24.036Z","updated_at":"2025-08-14T21:17:24.036Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278315190,"owners_count":25966774,"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-10-04T02:00:05.491Z","response_time":63,"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":["ci-cd","docker","github-actions","publishing","shell-script"],"created_at":"2024-10-16T07:43:23.276Z","updated_at":"2025-10-04T12:49:25.968Z","avatar_url":"https://github.com/DevourTech.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# snapshotter\n\nA `GitHub` Action which creates a string\nusing the `commit SHA` and the `current timestamp` which can be used to name a `tag` and then publish it to `GitHub`.\n\n## Usage\n\n```yml\nname: snapshot workflow\non:\n  push:\n    branches:\n      - master\njobs:\n  Generate Tag:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Create tag with Github SHA and timestamp\n      uses: DevourTech/snapshotter@v1.2.1\n      with:\n        BASE_VERSION: v0.0.0\n        GITHUB_TOKEN: ${{ github.token }}\n        GITHUB_USERNAME: \u003cYour GitHub username\u003e\n        GITHUB_REPOSITORY: \u003cRepository for which you want the tag to be released\u003e\n```\n\n## Options\n\n### Inputs\n\n- `BASE_VERSION` (Required)\n\nBase semantic version used to create snapshot. \u003cbr\u003e\n**Eg. v3.4.3**\n\u003cbr\u003e\n\n- `GITHUB_TOKEN` (Required)\n\nGithub Token used to authenticate to GitHub.\n\u003cbr\u003e\n\n- `GITHUB_USERNAME` (Required)\n\nUsername used to login to GitHub \u003cbr\u003e\n**Eg. DevourTech**\n\u003cbr\u003e\n\n- `GITHUB_REPOSITORY` (Required)\n\nRepository for which the tag is supposed to be generated on the latest commit. \u003cbr\u003e\n**Eg. snapshotter**\n\u003cbr\u003e\n\n\n###  Outputs\n- `SNAPSHOT_VERSION`\n\nVersion generated by the action.\n\n**Eg.v3.4.3-20200712152333-a007e621125e**\n\n## Workflow\n\n- Add this action to your repo\n- Commit some changes\n- push either to **master** or any other branch specified in the workflow\n- On **push (or merge)**, the action will:\n    - Get the latest commit hash and timestamp\n    - Generate a custom string using the above two arguments\n\n### NOTE\n\nThis action just generates a custom string which can be used as an output to release a tag with custom name.\nIf you also want to release this tag to `GitHub`, add this action [GitHub Script](https://github.com/marketplace/actions/github-script)\nto your workflow file .\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevourtech%2Fsnapshotter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevourtech%2Fsnapshotter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevourtech%2Fsnapshotter/lists"}