From 48eb74f956d5aeca55eab794dc4633ae2d95c321 Mon Sep 17 00:00:00 2001 From: Stephan Date: Mon, 10 Jan 2022 15:05:08 +0100 Subject: [PATCH] fix --- .github/workflows/assign-milestones.js | 2 +- .github/workflows/assign-milestones.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/assign-milestones.js b/.github/workflows/assign-milestones.js index 3872524..2f777a2 100644 --- a/.github/workflows/assign-milestones.js +++ b/.github/workflows/assign-milestones.js @@ -13,7 +13,7 @@ // it's move to a project column for the first time - being assigned to the project // and showing in project's backlog is not enough. -module.exports = ({github, context}) => { +module.exports = async ({github, context}) => { const restapi = github.rest diff --git a/.github/workflows/assign-milestones.yml b/.github/workflows/assign-milestones.yml index afa468c..f300639 100644 --- a/.github/workflows/assign-milestones.yml +++ b/.github/workflows/assign-milestones.yml @@ -43,4 +43,4 @@ jobs: // current working directory. const script = require('./.github/workflows/assign-milestones.js') - script({github, context}) + await script({github, context})