From 2897720a065cc14c7ea072375cee202e2ac8381f Mon Sep 17 00:00:00 2001 From: "Tung Bui (Leo)" <85242618+tungbq@users.noreply.github.com> Date: Thu, 17 Aug 2023 23:31:37 +0700 Subject: [PATCH 1/2] ci: skip the greetings workflow for tungbq (me) --- .github/workflows/greeting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/greeting.yml b/.github/workflows/greeting.yml index 9aeb710..b2a7d0d 100644 --- a/.github/workflows/greeting.yml +++ b/.github/workflows/greeting.yml @@ -11,7 +11,7 @@ on: jobs: greeting: runs-on: ubuntu-latest - if: ${{ github.actor != 'all-contributors[bot]' }} + if: ${{ github.actor != 'all-contributors[bot]' && github.actor != 'tungbq' }} permissions: issues: write pull-requests: write From 32089935becb18bea68962b41c28d363c5e059a6 Mon Sep 17 00:00:00 2001 From: "Tung Bui (Leo)" Date: Fri, 18 Aug 2023 17:35:42 +0700 Subject: [PATCH 2/2] Update greeting.yml - user --- .github/workflows/greeting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/greeting.yml b/.github/workflows/greeting.yml index b2a7d0d..08d1cec 100644 --- a/.github/workflows/greeting.yml +++ b/.github/workflows/greeting.yml @@ -11,7 +11,7 @@ on: jobs: greeting: runs-on: ubuntu-latest - if: ${{ github.actor != 'all-contributors[bot]' && github.actor != 'tungbq' }} + if: ${{ github.actor != 'all-contributors[bot]' && github.event.pull_request.user.login != 'tungbq' }} permissions: issues: write pull-requests: write