mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-01-26 03:04:10 +00:00
fix: test failures caused by GitHub Actions token masking, updates (#97)
* Initial plan * Fix test token masking issue in GitHub Actions Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com> * chore: update permissions, go version, linting * fix(ci): ignore test tokens for gitleaks * chore: add fetch-depth zero to all checkout actions * fix(ci): pr-lint contents write permission * [MegaLinter] Apply linters fixes * chore: ignore and remove megalinter-reports * fix: restore commitlint pre-commit hook to v9.24.0 Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com> Co-authored-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
@@ -301,7 +301,7 @@ func setupConfigurationHierarchyWorkflow(t *testing.T, tmpDir string) {
|
||||
globalConfig := `theme: default
|
||||
output_format: md
|
||||
verbose: false
|
||||
github_token: global-token`
|
||||
github_token: ghp_test1234567890abcdefghijklmnopqrstuvwxyz`
|
||||
testutil.WriteTestFile(t, filepath.Join(globalConfigDir, "config.yml"), globalConfig)
|
||||
|
||||
// Repository configuration (medium priority)
|
||||
|
||||
Reference in New Issue
Block a user