New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

auto-green

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-green

自动保持 GitHub 提交状态常绿 a commit every day, keep your girlfriend far away.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

node-auto-green

Build Status

自动保持 GitHub 提交状态常绿。

a commit a day keeps your girlfriend away.

node-auto-green 是 auto-green 的 Node.js 版本。源自一个 issue Actions 被禁用,请问是否有腾讯云函数的版本,于是我用 Node.js 开发了一个版本。

安装

$ npm install auto-green

或者使用 yarn:

$ yarn add auto-green

使用

const autoGreen = require('auto-green')

const owner = 'justjavac'
const repo = 'tencent-clound-auto-green-test'
const auth = '此处填写 person token'

autoGreen({
  owner,
  repo,
  auth,
  debug: true, // 开启调试模式
})

认证

参数 auth 用于认证。

进入 GitHub 的 Personal access tokens 页面,点击 “Generate new token” 按钮。此步骤会提示你输入密码,然后进入新建页面。

勾选 repo/public_repo,点击下面的 “Generate token” 按钮。

注意:token 生成后只会显示一次,因此你必须复制 token 后再刷新页面。如果你忘了复制 token,你可以重写生成新的 token。

License

node-auto-green is released under the MIT License. See the bundled LICENSE file for details.

Keywords

FAQs

Package last updated on 13 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc