Skip to content

Commit

Permalink
Update auto-merge-pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsArnavSh authored Sep 21, 2024
1 parent 386ed73 commit 21ce3a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/auto-merge-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
sort: 'updated',
direction: 'desc',
});
console.log("data is ",pr);
// Filter PRs that add a single .txt file in the /cdn directory
const validPRs = pullRequests.filter(pr => {
return pr.files_url && pr.files.length === 1 && pr.files[0].filename.match(/^cdn\/.*\.txt$/);
Expand Down

0 comments on commit 21ce3a7

Please sign in to comment.