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 dd05b5d commit cf3082fCopy full SHA for cf3082f
.github/scripts/validate-and-merge.mjs
@@ -35,17 +35,6 @@ async function validateAndMerge() {
35
pull_number,
36
});
37
38
- const { data: files } = await octokit.pulls.listFiles({
39
- owner,
40
- repo,
41
- pull_number,
42
- });
43
-
44
- const jsonFile = files.find(file => file.filename === 'programs.json');
45
- if (!jsonFile || files.length > 1) {
46
- console.log('PR does not modify only the target JSON file');
47
- return;
48
- }
49
const { data: diff } = await octokit.pulls.get({
50
owner,
51
repo,
0 commit comments