浏览代码

Change Skip Condition

(cherry picked from commit 4c1294030462cb4469f3412f05114fc662aba09a)
Marcus Hert Da Coregio 1 年之前
父节点
当前提交
2ee188ee36
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/merge-dependabot-pr.yml

+ 1 - 1
.github/workflows/merge-dependabot-pr.yml

@@ -9,7 +9,7 @@ permissions: write-all
 jobs:
   merge-dependabot-pr:
     runs-on: ubuntu-latest
-    if: github.actor == 'dependabot[bot]'
+    if: github.event.pull_request.user.login == 'dependabot[bot]'
     steps:
 
       - uses: actions/checkout@v4