gh action: approve every day
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user