@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user