From 2e37ea277c7425f9f7b7f55a8c959419c35b7103 Mon Sep 17 00:00:00 2001 From: Timon Back Date: Wed, 31 Dec 2025 14:57:53 +0100 Subject: [PATCH] fix(gh): use pull_request.user.login from gh context --- .github/workflows/welcome-first-time-contrib.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/welcome-first-time-contrib.yml b/.github/workflows/welcome-first-time-contrib.yml index 61150724c..8cd67f936 100644 --- a/.github/workflows/welcome-first-time-contrib.yml +++ b/.github/workflows/welcome-first-time-contrib.yml @@ -17,7 +17,7 @@ permissions: jobs: welcome: name: Post welcome message - if: ${{ !contains(fromJson('["dependabot[bot]", "dependabot-preview[bot]", "allcontributors[bot]"]'), github.actor) }} + if: ${{ !(github.event.pull_request.user.login in ['dependabot[bot]', 'dependabot-preview[bot]', 'allcontributors[bot]']) }} runs-on: ubuntu-latest steps: - uses: actions/github-script@v8