{"id":13409640,"url":"https://github.com/magefile/mage","last_synced_at":"2026-03-08T03:01:43.948Z","repository":{"id":38146151,"uuid":"104261253","full_name":"magefile/mage","owner":"magefile","description":"a Make/rake-like dev tool using Go","archived":false,"fork":false,"pushed_at":"2025-06-15T14:01:44.000Z","size":8038,"stargazers_count":4352,"open_issues_count":126,"forks_count":264,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-06-15T15:11:27.125Z","etag":null,"topics":["buildscript","go","golang","mage","magefile","make"],"latest_commit_sha":null,"homepage":"https://magefile.org","language":"Go","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/magefile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-09-20T19:52:55.000Z","updated_at":"2025-06-15T14:51:42.000Z","dependencies_parsed_at":"2024-05-05T03:31:12.850Z","dependency_job_id":"1f25fb85-5439-4658-a12f-c01c8b400471","html_url":"https://github.com/magefile/mage","commit_stats":{"total_commits":213,"total_committers":72,"mean_commits":"2.9583333333333335","dds":0.4084507042253521,"last_synced_commit":"9199872054a9c1afaf25638acfa0c76c8175a0b0"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/magefile/mage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magefile%2Fmage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magefile%2Fmage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magefile%2Fmage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magefile%2Fmage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magefile","download_url":"https://codeload.github.com/magefile/mage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magefile%2Fmage/sbom","scorecard":{"id":611426,"data":{"date":"2025-08-11","repo":{"name":"github.com/magefile/mage","commit":"78acbaf2e3ae328b90ad0f72fa621e9f52828c97"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Code-Review","score":8,"reason":"Found 26/30 approved changesets -- score normalized to 8","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":"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":"Maintained","score":0,"reason":"1 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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.15.0 not signed: https://api.github.com/repos/magefile/mage/releases/102662416","Warn: release artifact v1.14.0 not signed: https://api.github.com/repos/magefile/mage/releases/77420565","Warn: release artifact v1.13.0 not signed: https://api.github.com/repos/magefile/mage/releases/62023706","Warn: release artifact v1.12.1 not signed: https://api.github.com/repos/magefile/mage/releases/55556652","Warn: release artifact v1.12.0 not signed: https://api.github.com/repos/magefile/mage/releases/55456860","Warn: release artifact v1.15.0 does not have provenance: https://api.github.com/repos/magefile/mage/releases/102662416","Warn: release artifact v1.14.0 does not have provenance: https://api.github.com/repos/magefile/mage/releases/77420565","Warn: release artifact v1.13.0 does not have provenance: https://api.github.com/repos/magefile/mage/releases/62023706","Warn: release artifact v1.12.1 does not have provenance: https://api.github.com/repos/magefile/mage/releases/55556652","Warn: release artifact v1.12.0 does not have provenance: https://api.github.com/repos/magefile/mage/releases/55456860"],"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:25: update your workflow using https://app.stepsecurity.io/secureworkflow/magefile/mage/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/magefile/mage/ci.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction 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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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-21T02:45:28.861Z","repository_id":38146151,"created_at":"2025-08-21T02:45:28.861Z","updated_at":"2025-08-21T02:45:28.861Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30243530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"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":["buildscript","go","golang","mage","magefile","make"],"created_at":"2024-07-30T20:01:02.502Z","updated_at":"2026-03-08T03:01:43.929Z","avatar_url":"https://github.com/magefile.png","language":"Go","readme":"[![Built with Mage](https://magefile.org/badge.svg)](https://magefile.org)\n[![Build Status](https://travis-ci.org/magefile/mage.svg?branch=master)](https://travis-ci.org/magefile/mage) [![Build status](https://ci.appveyor.com/api/projects/status/n6h146y79xgxkidl/branch/master?svg=true)](https://ci.appveyor.com/project/natefinch/mage/branch/master)\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/3185864/32058716-5ee9b512-ba38-11e7-978a-287eb2a62743.png\"/\u003e\u003c/p\u003e\n\n## About\n\nMage is a make-like build tool using Go.  You write plain-old go functions,\nand Mage automatically uses them as Makefile-like runnable targets.\n\n## Installation\n\nMage has no dependencies outside the Go standard library, and builds with Go 1.7\nand above (possibly even lower versions, but they're not regularly tested).\n\n**Using GOPATH with go version \u003c 1.17**\n\n```\ngo get -u -d github.com/magefile/mage\ncd $GOPATH/src/github.com/magefile/mage\ngo run bootstrap.go\n```\n\n**Using Go Install with go version \u003e= 1.18**\n\n```\ngo install github.com/magefile/mage@latest\nmage -init\n```\n\nInstead of the @latest tag, you can specify the desired version, for example:\n\n```\ngo install github.com/magefile/mage@v1.15.0\n```\n\n**Using Go Modules**\n\n```\ngit clone https://github.com/magefile/mage\ncd mage\ngo run bootstrap.go\n```\n\nThis will download the code and then run the bootstrap script to build mage with\nversion infomation embedded in it.  A normal `go get` (without -d) or `go\ninstall` will build the binary correctly, but no version info will be embedded.\nIf you've done this, no worries, just go to `$GOPATH/src/github.com/magefile/mage`\nand run `mage install` or `go run bootstrap.go` and a new binary will be created\nwith the correct version information.\n\nThe mage binary will be created in your $GOPATH/bin directory.\n\nYou may also install a binary release from our\n[releases](https://github.com/magefile/mage/releases) page.\n\n## Demo\n\n[![Mage Demo](https://img.youtube.com/vi/GOqbD0lF-iA/maxresdefault.jpg)](https://www.youtube.com/watch?v=GOqbD0lF-iA)\n\n## Discussion\n\nJoin the `#mage` channel on [gophers slack](https://gophers.slack.com/messages/general/)\nor post on the [magefile google group](https://groups.google.com/forum/#!forum/magefile)\nfor discussion of usage, development, etc.\n\n# Documentation\n\nSee [magefile.org](https://magefile.org) for full documentation.\n\nSee [pkg.go.dev/github.com/magefile/mage/mage](https://pkg.go.dev/github.com/magefile/mage/mage)\nfor instructions on how to use Mage as a library.\n\n# Why?\n\nMakefiles are hard to read and hard to write.  Mostly because makefiles are\nessentially fancy bash scripts with significant white space and additional\nmake-related syntax.\n\nMage lets you have multiple magefiles, name your magefiles whatever you want,\nand they're easy to customize for multiple operating systems.  Mage has no\ndependencies (aside from go) and runs just fine on all major operating systems,\nwhereas make generally uses bash which is not well supported on Windows. Go is\nsuperior to bash for any non-trivial task involving branching, looping, anything\nthat's not just straight line execution of commands.  And if your project is\nwritten in Go, why introduce another language as idiosyncratic as bash?  Why not\nuse the language your contributors are already comfortable with?\n\n# Thanks\n\nIf you use mage and like it, or any of my other software, and you'd like to show your appreciation, you can do so on my patreon:\n\n[\u003cimg src=https://user-images.githubusercontent.com/3185864/49846051-64eddf80-fd97-11e8-9f59-d09f5652d214.png\u003e](https://www.patreon.com/join/natefinch?)\n\n","funding_links":["https://www.patreon.com/join/natefinch?"],"categories":["开源类库","Build Automation","构建自动化","Go","Automation","Open source library","Uncategorized","golang","Alternatives","自动化构建与开发工具"],"sub_categories":["构建编译","Build And Compile"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagefile%2Fmage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagefile%2Fmage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagefile%2Fmage/lists"}