You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let workflowFailMessage = "It looks like you've modified some files that we can't accept as contributions."
38
+
try {
39
+
const badFilesArr = [
40
+
'package-lock.json',
41
+
'yarn.lock',
42
+
'pnpm-lock.yaml',
43
+
]
44
+
const badFiles = badFilesArr.join('\n- ')
45
+
const reviewMessage = `👋 Hey there spelunker. It looks like you've modified some files that we can't accept as contributions. The complete list of files we can't accept are:\n- ${badFiles}\n\nYou'll need to revert all of the files you changed in that list using [GitHub Desktop](https://docs.github.com/en/free-pro-team@latest/desktop/contributing-and-collaborating-using-github-desktop/managing-commits/reverting-a-commit) or \`git checkout origin/main <file name>\`. Once you get those files reverted, we can continue with the review process. :octocat:\n\nMore discussion:\n- https://github.com/electron-vite/electron-vite-vue/issues/192`
0 commit comments