github-upvotes

command module
v0.0.0-...-b6808ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: MIT Imports: 8 Imported by: 0

README

[WIP] GitHub Upvotes

This project is meant to calculate "upvotes" for items in a GitHub Project, then update a field in the Project with the result. It's meant to eventually be run in a GitHub Action The README is a WIP.

Required environment variables:

  • GITHUB_TOKEN: a token with permissions to read issues/prs in the repository + read/write to the project
  • GITHUB_PROJECT_ID: the ID of the GitHub Project.
  • GITHUB_FIELD_ID: the ID of the 'upvotes' field in the GitHub Project.

For the project and field IDs respectively, see here and here.

Optional environment variables:

  • RUNNER_DEBUG: matches GitHub's environment variable for Actions debugging.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL