Closed FuadEfendi closed 3 weeks ago
Seems a bug if you're not enable the hb.revision.repo_contributors
parameter.
A quick workaround is to append the GITHUB_TOKEN
into security.funcs.getenv
whitelist, even it's not used.
// hugo.yaml
security:
funcs:
getenv: ['^HUGO', 'CI$', 'PWD', 'GITHUB_TOKEN']
Haven't test, there maybe typo.
Will make a patch later.
Maybe it is misconfigured?
hb:
revision:
repo_service: github
repo_owner: MasteryEducation
repo_name: FlutterMasteryLibrary.com
repo_branch: main
repo_subpath: ''
repo_contributors: true
repo_actions: true
icons: true
created_at: false
date_format: ':date_full'
font_size: '.825rem'
https://github.com/MasteryEducation/FlutterMasteryLibrary.com
Thanks for suggested workaround; it works
I am not sure about that, happens at Netlify,