plugins/discourse-github/README.md
https://meta.discourse.org/t/discourse-github/99895/
This plugin combines functionality of deprecated github_badges and discourse-github-linkback plugins.
Follow the plugin installation guide.
Assign badges to your users based on GitHub contributions.
Enable github badges enabled in Settings -> Plugins.
Generate an access token on Github. Be sure to give it only the public_repo scope. Paste that token into the github linkback access token setting.
Add URL of the GitHub repo to scan for contributions to the github badges repo site setting.
Create a link from a Github pull request or commit back to a Discourse post where it is mentioned.
Enable github linkback enabled in Settings -> Plugins.
Generate an access token on Github.
Be sure to give it <em>only</em> the public_repo scope. Paste that token into the
github linkback access token setting.
Finally, add the projects you wish to post to in the github linkback projects site setting in the formats:
username/repository for specific repositoriesusername/* for all repositories of a certain userReplace Github non-permalinks with permalinks.
github permalinks enabled in Settings -> Plugins.github permalinks exclude site setting in the following formats:
filename links to all files with matching filenameusername/* links to all repositories belonging to the user/organizationusername/repository/* links to any file in the repositoryusername/repository/directory/* links to any file in the directory within repositoryusername/repository/file.rb a specific file