chore: fix syntax

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-01-18 14:35:27 +01:00
parent 08b7b16cb1
commit 5a49582e93
+3 -3
View File
@@ -7,7 +7,7 @@ on:
types: [created]
pull_request:
types: [opened, reopened, synchronize]
permissions:
issues: write
pull-requests: read
@@ -82,8 +82,8 @@ jobs:
- uses: actions/github-script@v5
id: fix-labels
with:
github-token: ${{ github.token }}
script: |
github-token: ${{ github.token }}
script: |
// if it's the author, always add awaiting-review label
const isAuthor = context.payload.pull_request.user.login === context.actor
if (isAuthor) {