diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4aa331..df3db16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: npm ci env: NODE_ENVIRONMENT: development @@ -16,7 +16,7 @@ jobs: check-generated-dist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: npm ci env: NODE_ENVIRONMENT: development diff --git a/.github/workflows/vx-tagger.yml b/.github/workflows/vx-tagger.yml index f6c96cf..fdf3095 100644 --- a/.github/workflows/vx-tagger.yml +++ b/.github/workflows/vx-tagger.yml @@ -6,7 +6,7 @@ jobs: tag: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: sersoft-gmbh/running-release-tags-action@master with: github-token: ${{secrets.GITHUB_TOKEN}} diff --git a/src/engine.ts b/src/engine.ts index df63320..80d6435 100644 --- a/src/engine.ts +++ b/src/engine.ts @@ -15,7 +15,6 @@ export async function ferret(query: string, comments: AsyncGenerator { + debug("Updating comment") await octokit.rest.issues.updateComment({ repo, owner, body, comment_id: ctx.comment.id, }) @@ -44,7 +45,8 @@ if (query) { const found = await ferret(query, sniff()) await updateComment(found ?? `ferret: error: noop: ${query}`) if (found) { - octokit.rest.issues.addLabels({ + debug("Adding label") + await octokit.rest.issues.addLabels({ repo, owner, issue_number: ctx.issue.number, labels: ['ferret'] }) }