diff --git a/.github/workflows/goalie.yaml b/.github/workflows/goalie.yaml index a71dee375c..93ca4209fc 100644 --- a/.github/workflows/goalie.yaml +++ b/.github/workflows/goalie.yaml @@ -3,7 +3,7 @@ name: 'goalie: run cron' on: schedule: - cron: '* * * * *' - + jobs: label: runs-on: ubuntu-latest diff --git a/scripts/goalie-labels.js b/scripts/goalie-labels.js index f1377516a6..e0a5b966d0 100644 --- a/scripts/goalie-labels.js +++ b/scripts/goalie-labels.js @@ -69,7 +69,7 @@ const getRepoEvents = async ({ github, context, pull_number }) => { return events .sort((a, b) => new Date(a.updated_at) - new Date(b.updated_at)) - .filter(({ user }) => user ? !user.login.includes('[bot]') : false); + .filter(({ user }) => (user ? !user.login.includes('[bot]') : false)); }; module.exports = async ({ github, context, core }) => {