diff --git a/.github/workflows/goalie.yaml b/.github/workflows/goalie.yaml index 133e8c9a84..2dc1ba2b5a 100644 --- a/.github/workflows/goalie.yaml +++ b/.github/workflows/goalie.yaml @@ -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) {