[READ-ONLY] Mirror of https://github.com/probablykasper/readme-template-action. Integrate GitHub API data in your README.md
0

Configure Feed

Select the types of activity you want to include in your feed.

Disabled logging of secrets, which didn't seem to log it anyway

Kasper (Aug 23, 2020, 9:19 PM +0200) 01ade2fa 7ae8cf5e

+1 -3
-1
action.yml
··· 5 5 github_token: 6 6 description: Your github personal access token with `read:user` scope 7 7 required: true 8 - default: TEMPLATE.md 9 8 template: 10 9 description: The file to use as template 11 10 required: true
+1 -2
src/queries.js
··· 3 3 const moment = require('moment') 4 4 5 5 const ghToken = core.getInput('GITHUB_TOKEN', { required: true }) 6 - // core.setSecret(ghToken) 6 + core.setSecret(ghToken) 7 7 const octokit = github.getOctokit(ghToken) 8 8 module.exports.octokit = octokit 9 - console.log(ghToken) 10 9 11 10 module.exports.getUser = async function() { 12 11 const queryResult = await octokit.graphql(`