Skip to content

Commit 36250fe

Browse files
authored
Merge branch 'aicore:main' into main
2 parents 24c8b25 + 497df56 commit 36250fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/js/setupRepository.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ function _setupRepoComment(){
4949
Setup your repository default settings. Goto this url https://github.com/${org}/${repoName}/settings
5050
5151
- [ ] In \`Settings> General> Pull Requests\` uncheck/disable \`Allow merge commits \`
52-
- [ ] In \`Settings> General> Pull Requests\` check/enable \`Allow auto-merge \` and \`Automatically delete head branches \`
52+
- [ ] In \`Settings> General> Pull Requests\` uncheck/disable \`Allow auto-merge \`. This is to prevent GitHub secrets leak after malicious pull request auto merges.
53+
- [ ] In \`Settings> General> Pull Requests\` check/enable \`Automatically delete head branches \`
5354
- [ ] Delete the file \`.github/workflows/setup_repository.yml\ and \`.github/workflows/js/setupRepository.cjs\`
5455
`;
5556
}

0 commit comments

Comments
 (0)