We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e63b4c commit 2852d9bCopy full SHA for 2852d9b
.github/workflows/pr_approval.yml
@@ -51,23 +51,6 @@ jobs:
51
pull_number = context.issue.number;
52
}
53
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
71
// Get parsed data
72
try {
73
const tomlContent = fs.readFileSync('.github/pull_requests.toml', 'utf8');
0 commit comments