Skip to content

Commit

Permalink
relax rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dandlezzz committed Oct 14, 2024
1 parent dd05b5d commit cf3082f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/scripts/validate-and-merge.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,6 @@ async function validateAndMerge() {
pull_number,
});

const { data: files } = await octokit.pulls.listFiles({
owner,
repo,
pull_number,
});

const jsonFile = files.find(file => file.filename === 'programs.json');
if (!jsonFile || files.length > 1) {
console.log('PR does not modify only the target JSON file');
return;
}
const { data: diff } = await octokit.pulls.get({
owner,
repo,
Expand Down

0 comments on commit cf3082f

Please sign in to comment.