We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fde988 commit 4e6cf5cCopy full SHA for 4e6cf5c
.github/workflows/check-no-important-files-changed.yml
@@ -30,7 +30,7 @@ jobs:
30
31
return github.rest.pulls.listFiles({ owner, repo, pull_number })
32
.then(async ({ data: files }) => {
33
- const filenames = files.map(file => file.filename);
+ const filenames = files.filter(file => file.status !== "added").map(file => file.filename);
34
console.log(`Files in PR: ${filenames}`);
35
36
// Cache the parsed exercise config file's invalidator files
0 commit comments