From fb3fac247857f1707c4b9508f899ede22180a1b5 Mon Sep 17 00:00:00 2001 From: Thomas Kim Pham Date: Thu, 25 Jul 2024 21:21:51 +0200 Subject: [PATCH] fix: auto-approve build (#6) --- .github/workflows/auto-approve.yml | 2 +- .projenrc.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 419e7fd..d806c6f 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest permissions: pull-requests: write - if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && (github.event.pull_request.user.login == 'mergify[bot]') + if: contains(github.event.pull_request.labels.*.name, 'auto-approve') && (github.event.pull_request.user.login == 'thpham') steps: - uses: hmarr/auto-approve-action@v2.2.1 with: diff --git a/.projenrc.ts b/.projenrc.ts index a597313..dc905f1 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -18,7 +18,7 @@ const project = new awscdk.AwsCdkConstructLibrary({ repositoryUrl: 'https://github.com/thpham/awscdk-asset-helmfile.git', homepage: 'https://github.com/thpham/awscdk-asset-helmfile#readme', autoApproveOptions: { - allowedUsernames: ['mergify[bot]'], + allowedUsernames: ['thpham'], secret: 'GITHUB_TOKEN', }, autoApproveUpgrades: true,