Skip to content

Commit 2852d9b

Browse files
committed
Remove relevance checks
1 parent 5e63b4c commit 2852d9b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

.github/workflows/pr_approval.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,6 @@ jobs:
5151
pull_number = context.issue.number;
5252
}
5353
54-
// Get PR files
55-
const files = await github.rest.pulls.listFiles({
56-
owner,
57-
repo,
58-
pull_number
59-
});
60-
61-
const relevantPaths = ['library/', 'doc/src/challenges/'];
62-
const isRelevantPR = files.data.some(file =>
63-
relevantPaths.some(path => file.filename.startsWith(path))
64-
);
65-
66-
if (!isRelevantPR) {
67-
console.log('PR does not touch relevant paths. Exiting workflow.');
68-
return;
69-
}
70-
7154
// Get parsed data
7255
try {
7356
const tomlContent = fs.readFileSync('.github/pull_requests.toml', 'utf8');

0 commit comments

Comments
 (0)