{"id":17723760,"url":"https://github.com/ncw/fetch-actions-logs","last_synced_at":"2025-03-14T05:32:01.832Z","repository":{"id":140293927,"uuid":"258820031","full_name":"ncw/fetch-actions-logs","owner":"ncw","description":"Fetch your GitHub Actions logs","archived":false,"fork":false,"pushed_at":"2020-04-25T16:47:24.000Z","size":11,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T13:37:16.577Z","etag":null,"topics":["actions","github-actions"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/ncw.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-04-25T16:18:32.000Z","updated_at":"2023-08-17T10:11:54.000Z","dependencies_parsed_at":"2024-06-20T13:05:30.462Z","dependency_job_id":"425a8563-fe3d-40a2-b93a-bd05cbfe87c3","html_url":"https://github.com/ncw/fetch-actions-logs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Ffetch-actions-logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Ffetch-actions-logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Ffetch-actions-logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Ffetch-actions-logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncw","download_url":"https://codeload.github.com/ncw/fetch-actions-logs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532517,"owners_count":20306151,"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":["actions","github-actions"],"created_at":"2024-10-25T15:43:59.067Z","updated_at":"2025-03-14T05:32:01.419Z","avatar_url":"https://github.com/ncw.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fetch-actions-logs\n\nThis is a simple program to fetch your github actions logs using the\nGitHub API.\n\n## Install\n\nFetch-Actions-Logs is a Go program and comes as a single binary file.\n\nDownload the relevant binary from\n\n- https://github.com/ncw/fetch-actions-logs/releases\n\nOr alternatively if you have Go installed use\n\n    go get github.com/ncw/fetch-actions-logs\n\nand this will build the binary in `$GOPATH/bin`.\n\n## Usage\n-----\n\nUse `fetch-actions-logs -h` to see all the options.\n\n```\nUsage: fetch-actions-logs [options] \u003cproject\u003e \u003cdirectory\u003e\nVersion: v1.0.0\n\nFetch the GitHub actions from project (eg rclone/rclone) into the\noutput directory specified. The directory will be created if not\nfound.\n\nThe actions are the zip files you would download from the web site\nwith the entire logs for the workflow run.\n\nThey are stored as JOBID.zip where JOBID is the numerical job ID.\n\nIf you re-run the program it won't download any files that are already\nin the output directory.\n\nYou'll need to supply a GitHub user and api token in -api-user and\n-api-token or set the environment variables GITHUB_USER and\nGITHUB_TOKEN respectively.\n\nNote that actions logs aren't stored indefinitely and after a period\nattempting to fetch them will give 410 Gone errors.\n\nExample usage:\n\nfetch-actions-logs -conclusion failure -user ncw rclone/rclone logs\n\nFull options:\n  -api-token string\n    \tAPI key password (or set GITHUB_TOKEN)\n  -api-user string\n    \tAPI key user (or set GITHUB_USER)\n  -branch string\n    \tFetch logs for the branch specified (default \"master\")\n  -conclusion string\n    \tFetch logs for the status specified (eg success, failure, neutral, cancelled, timed_out, or action_required) (default \"neutral\")\n  -event string\n    \tFetch logs for the event specified (eg push, pull_request, issue)\n  -status string\n    \tFetch logs for the status specified (eg completed) (default \"completed\")\n  -user string\n    \tFetch logs for the user specified\n```\n\n## License\n\nThis is free software under the terms of the MIT license (check the\nLICENSE file included in this package).\n\n## Contact and support\n\nThe project website is at:\n\n- https://github.com/ncw/fetch-actions-logs\n\nThere you can file bug reports, ask for help or contribute patches.\n\n## Authors\n\n- Nick Craig-Wood \u003cnick@craig-wood.com\u003e\n- Your name goes here!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncw%2Ffetch-actions-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncw%2Ffetch-actions-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncw%2Ffetch-actions-logs/lists"}