{"id":48062225,"url":"https://github.com/ajilraju/actions-date","last_synced_at":"2026-04-04T14:33:37.908Z","repository":{"id":54874339,"uuid":"224405758","full_name":"ajilraju/actions-date","owner":"ajilraju","description":"GitHub action to use the date command for the build process.","archived":false,"fork":false,"pushed_at":"2022-03-10T05:55:57.000Z","size":28,"stargazers_count":15,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-20T12:24:44.151Z","etag":null,"topics":["actions","clock","date","dates","github","unix"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/ajilraju.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":"2019-11-27T10:33:05.000Z","updated_at":"2025-11-04T07:12:44.000Z","dependencies_parsed_at":"2023-01-11T17:23:18.426Z","dependency_job_id":null,"html_url":"https://github.com/ajilraju/actions-date","commit_stats":{"total_commits":24,"total_committers":4,"mean_commits":6.0,"dds":0.5,"last_synced_commit":"d5d68002930be924f9327a5ba7eac483060cce7e"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ajilraju/actions-date","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajilraju%2Factions-date","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajilraju%2Factions-date/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajilraju%2Factions-date/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajilraju%2Factions-date/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajilraju","download_url":"https://codeload.github.com/ajilraju/actions-date/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajilraju%2Factions-date/sbom","scorecard":{"id":174440,"data":{"date":"2025-08-11","repo":{"name":"github.com/ajilraju/actions-date","commit":"d5d68002930be924f9327a5ba7eac483060cce7e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"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":"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":0,"reason":"Found 1/24 approved changesets -- score normalized to 0","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/ajilraju/actions-date/test.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating busybox:1 to busybox:1@sha256:f9a104fddb33220ec80fc45a4e606c74aadf1ef7a3832eb0b05be9e90cd61f5f","Info:   0 out of   1 third-party 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 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-16T17:21:37.348Z","repository_id":54874339,"created_at":"2025-08-16T17:21:37.349Z","updated_at":"2025-08-16T17:21:37.349Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["actions","clock","date","dates","github","unix"],"created_at":"2026-04-04T14:33:37.356Z","updated_at":"2026-04-04T14:33:37.893Z","avatar_url":"https://github.com/ajilraju.png","language":"Dockerfile","readme":"![](https://github.com/ajilraju/actions-date/workflows/action-date%20test/badge.svg) \n# GitHub Action for dates and timestamps\n\nAn Action to run [date](https://www.gnu.org/software/coreutils/manual/html_node/Examples-of-date.html) commands.\n\n## Usage\n\nExposing the date and time according the options.\n\n```yaml\n- uses: ajilraju/actions-date@v0.1\n  with:\n    args: date +%F\n    \n- uses: ajilraju/actions-date@v0.1\n  with:\n    date --date='2 days ago'\n\n- uses: ajilraju/actions-date@v0.1\n  with:\n    date -d 1may '+%B %-d'\n```\n## Examples of date\n\n### Here are a few examples. Also see the documentation for the -d option in the previous section.\n\n- To print the date of the day before yesterday:\n```bash \ndate --date='2 days ago'\n```\n\n- To print the date of the day three months and one day hence:\n```bash\ndate --date='3 months 1 day'\n```\n\n- To print the day of year of Christmas in the current year:\n```bash\ndate --date='25 Dec' +%j\n```\n\n- To print the current full month name and the day of the month:\n```bash \ndate '+%B %d'\n```\n\nBut this may not be what you want because for the first nine days of the month, the ‘%d’ expands to a zero-padded two-digit field, for example ‘date -d 1may '+%B %d'’ will print ‘May 01’.\n- To print a date without the leading zero for one-digit days of the month, you can use the (GNU extension) ‘-’ flag to suppress the padding altogether:\n\n```bash\ndate -d 1may '+%B %-d'\n```\n\n- To print the current date and time in the format required by many non-GNU versions of date when setting the system clock:\n```bash\ndate +%m%d%H%M%Y.%S\n```\n\n- To set the system clock forward by two minutes:\n```bash\ndate --set='+2 minutes'\n```\n\n### Reference\n- [date command](https://www.gnu.org/software/coreutils/manual/html_node/Examples-of-date.html)\n\n### Thank you\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajilraju%2Factions-date","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajilraju%2Factions-date","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajilraju%2Factions-date/lists"}