Skip to content

Commit

Permalink
Exclude added files (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Nov 25, 2024
1 parent 2fde988 commit 114e884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-no-important-files-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
return github.rest.pulls.listFiles({ owner, repo, pull_number })
.then(async ({ data: files }) => {
const filenames = files.map(file => file.filename);
const filenames = files.filter(file => file.status !== "added").map(file => file.filename);
console.log(`Files in PR: ${filenames}`);
// Cache the parsed exercise config file's invalidator files
Expand Down

0 comments on commit 114e884

Please sign in to comment.