gh action: approve every day

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-05-04 10:22:36 +02:00
parent 8bacb07acf
commit 31a69bdd1b
@@ -18,12 +18,6 @@ jobs:
const owner = 'backstage';
const repo = 'backstage';
const date = new Date();
if (date.getDay() === 2) {
console.log('Skipping auto approve because Tuesday is release day');
return;
}
const r = await github.rest.pulls.listFiles({
owner,
repo,