From dcfa777a1f4aa781f37dc44c16165d50c72b25b8 Mon Sep 17 00:00:00 2001 From: Wout Van De Wiel Date: Fri, 17 Jan 2025 10:53:20 +0100 Subject: [PATCH] ci: address review comments (#898) * ci: fix undefined reference * refactor: use default for bypass prefix --- .github/actions/block-merging/action.yml | 2 +- .github/workflows/mergeability.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/actions/block-merging/action.yml b/.github/actions/block-merging/action.yml index 826d413e..4ccf67e0 100644 --- a/.github/actions/block-merging/action.yml +++ b/.github/actions/block-merging/action.yml @@ -54,7 +54,7 @@ runs: ref: `heads/${branch}`, }); if (checksResponse.status != 200) { - throw new Error(`Checks for ${branch} couldn't be retrieved in attempt ${attempt}`); + throw new Error(`Checks for ${branch} couldn't be retrieved`); } const checks = checksResponse.data.check_runs; diff --git a/.github/workflows/mergeability.yaml b/.github/workflows/mergeability.yaml index 73298e56..ec16c30f 100644 --- a/.github/workflows/mergeability.yaml +++ b/.github/workflows/mergeability.yaml @@ -21,4 +21,3 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} branch: 'main' - bypass_prefix: 'fix(mergeability): '