From 97fae9793f39bb9217c2602f726d800b311c11c5 Mon Sep 17 00:00:00 2001 From: mxcl Date: Wed, 19 Jan 2022 06:45:39 -0500 Subject: [PATCH 1/2] Improve debug output/await --- src/engine.ts | 1 - src/index.ts | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) 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'] }) } From 71b4d5bb93d87af121d9c04b3eef9bb15551ad6b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Mar 2022 10:29:11 +0000 Subject: [PATCH 2/2] Bump actions/checkout from 2 to 3 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 4 ++-- .github/workflows/vx-tagger.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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}}