{"id":17984123,"url":"https://github.com/shadowmoose/github-release-data-action","last_synced_at":"2026-02-18T03:39:53.981Z","repository":{"id":39909624,"uuid":"232454855","full_name":"shadowmoose/Github-Release-Data-Action","owner":"shadowmoose","description":"Github Action: Generate JSON data about GitHub releases.","archived":false,"fork":false,"pushed_at":"2023-07-12T04:01:55.000Z","size":641,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T14:30:04.299Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/shadowmoose.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-08T01:54:16.000Z","updated_at":"2023-03-26T22:30:02.000Z","dependencies_parsed_at":"2024-09-27T12:57:22.505Z","dependency_job_id":"c30240b3-2614-4df5-aac3-c0747b6e5905","html_url":"https://github.com/shadowmoose/Github-Release-Data-Action","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":0.09090909090909094,"last_synced_commit":"7cab39a3e1aab55342775ec65908ba28262a3b39"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowmoose%2FGithub-Release-Data-Action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowmoose%2FGithub-Release-Data-Action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowmoose%2FGithub-Release-Data-Action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowmoose%2FGithub-Release-Data-Action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadowmoose","download_url":"https://codeload.github.com/shadowmoose/Github-Release-Data-Action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222090823,"owners_count":16929472,"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","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-10-29T18:19:33.242Z","updated_at":"2025-10-17T02:32:40.286Z","avatar_url":"https://github.com/shadowmoose.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Updater-Action\n\nThis GitHub action builds a rolling log file, containing in-depth details for the assets attached to the latest release.\nAs new releases are made with their own assets, their data will be prepended to this file automatically.\n\nThe output file will be pushed into a new, empty data branch within the target repository.\nThis data file (JSON) can then be read by your external program in order to check for updates without needing to use the GitHub API.\n\nNotable improvements over the GitHub API:\n+ Attaches pre-processed data about each release artifact, including UTC timestamps and hashes.\n+ No rate-limiting for access - simply use the static file URL.\n+ Easy to bundle with your application or redistribute, if desired.\n\n\n## To use:\n```yml\n- name: Build Release JSON Data\n  uses: shadowmoose/Github-Release-Data-Action@4.0.0\n  id: release_json\n  with:\n    token: ${{ secrets.GITHUB_TOKEN }}\n    owner: ShadowMoose  # Optional. Defaults to current.\n    repo: Test  # Optional. Defaults to current.\n    outFile: 'release-info.json'  # -- Optional.\n    outBranch: release-metadata  # Optional.\n```\n\n*Not all options are included above. Check out [the options](./action.yml) for more optional customization, including setting size limits and custom release tags.*\n\n\n## Sample Output:\nOnce run, this Action will generate a new branch names something like \"release-data\" (customizable). This branch will contain a json file, which will look something like this:\n```json5\n[ // Array of release objects, with the newest first:\n{\n  \"url\": \"https://api.github.com/repos/shadowmoose/RedditDownloader/releases/28461164\",\n  \"assets_url\": \"https://api.github.com/repos/shadowmoose/RedditDownloader/releases/28461164/assets\",\n  \"upload_url\": \"https://uploads.github.com/repos/shadowmoose/RedditDownloader/releases/28461164/assets{?name,label}\",\n  \"html_url\": \"https://github.com/shadowmoose/RedditDownloader/releases/tag/3.1.1\",\n  \"id\": 28461164,\n  \"author\": {\n    \"login\": \"shadowmoose\",\n    \"id\": 774862,\n    \"node_id\": \"MDQ6VXNlcjc3NDg2Mg==\",\n    \"avatar_url\": \"https://avatars3.githubusercontent.com/u/774862?v=4\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/shadowmoose\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  \"node_id\": \"MDc6UmVsZWFzZTI4NDYxMTY0\",\n  \"tag_name\": \"3.1.1\",\n  \"target_commitish\": \"master\",\n  \"name\": \"Release 3.1.1 - Windows Binary Fix\",\n  \"draft\": false,\n  \"prerelease\": false,\n  \"created_at\": \"2020-07-11T00:23:49Z\",\n  \"published_at\": \"2020-07-11T00:29:54Z\",\n  \"assets\": [\n    {\n      \"url\": \"https://api.github.com/repos/shadowmoose/RedditDownloader/releases/assets/29325295\",\n      \"id\": 29325295,\n      \"node_id\": \"MDEyOlJlbGVhc2VBc3NldDI5MzI1Mjk1\",\n      \"name\": \"RMD-macOS\",\n      \"label\": \"\",\n      \"uploader\": {\n        // Uploader user data...\n      },\n      \"content_type\": \"binary/octet-stream\",\n      \"state\": \"uploaded\",\n      \"size\": 23280993,\n      \"download_count\": \"?\",\n      \"created_at\": \"2020-12-09T01:03:03Z\",\n      \"updated_at\": \"2020-12-09T01:03:04Z\",\n      \"browser_download_url\": \"https://github.com/shadowmoose/RedditDownloader/releases/download/3.1.1/RMD-macOS\",\n      \"metadata\": {  // Custom data - contains hashes for each binary asset attached to a release.\n        \"updatedMS\": 1607475784000,\n        \"updated\": 1607475784,\n        \"sha1\": \"00c767afd690eb8e4cf9212731563067eebccd41\",\n        \"sha256\": \"3254b173cba1fed487360c25daee62d50bd5f8b6b626c32e57aa3e3c5b0ab749\",\n        \"md5\": \"969414ae731060816710435237e44f19\"\n      }\n    },\n    //... More release assets here\n  ],\n  \"tarball_url\": \"https://api.github.com/repos/shadowmoose/RedditDownloader/tarball/3.1.1\",\n  \"zipball_url\": \"https://api.github.com/repos/shadowmoose/RedditDownloader/zipball/3.1.1\",\n  \"body\": \"The release notes.\",\n  \"published_utc\": 1594427394\n},\n// next-oldest relese, etc...\n]\n```\n\nThis action also has some outputs for Workflow util. You may use the [outputs](./action.yml) like this:\n\n```yml\n- name: Get the output time\n  run: |\n    echo \"Latest tag: ${{ steps.release_json.outputs.latest_release }}\";\n    echo \"Released: ${{ steps.release_json.outputs.is_released }}\";\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowmoose%2Fgithub-release-data-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadowmoose%2Fgithub-release-data-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowmoose%2Fgithub-release-data-action/lists"}