Skip to content

Commit c962046

Browse files
committed
fix(ci): ensure PR_AUTHOR is present for large_pr_split workflow
1 parent e473312 commit c962046

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/scripts/comment_on_large_pr.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const {
22
PR_NUMBER,
3+
PR_AUTHOR,
34
IGNORE_AUTHORS,
45
} = require("./constants")
56

.github/workflows/on_label_added.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
uses: actions/github-script@v6
1919
env:
2020
PR_NUMBER: ${{ github.event.pull_request.number }}
21+
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
2122
with:
2223
github-token: ${{ secrets.GITHUB_TOKEN }}
2324
script: |

0 commit comments

Comments
 (0)