Skip to content

Commit 87aa75c

Browse files
authored
fix(gh): use pull_request.user.login from gh context (#1577)
1 parent a93d9f0 commit 87aa75c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/welcome-first-time-contrib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717
jobs:
1818
welcome:
1919
name: Post welcome message
20-
if: ${{ !contains(fromJson('["dependabot[bot]", "dependabot-preview[bot]", "allcontributors[bot]"]'), github.actor) }}
20+
if: ${{ !(github.event.pull_request.user.login in ['dependabot[bot]', 'dependabot-preview[bot]', 'allcontributors[bot]']) }}
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/github-script@v8

0 commit comments

Comments
 (0)