Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
feat: log a little less
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschmidt committed May 29, 2020
1 parent b4347e5 commit ee87a71
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ async function run() {
const octokit = new github.GitHub(token);
let runEverything = false;

console.log(
'\n---\n',
JSON.stringify(
github.context.payload.pull_request.changed_files,
null,
2
),
'\n---\n\n\n'
);

let filenames = [];

if (github.context.payload.pull_request.changed_files > 3000) {
Expand All @@ -37,8 +27,6 @@ async function run() {
);
}

console.log('Changed files:', JSON.stringify(filenames, null, 2));

if (filenames.find((file) => file.startsWith('.github/workflows/'))) {
console.log('Workflows updated, running everything!');
runEverything = true;
Expand Down

0 comments on commit ee87a71

Please sign in to comment.