diff --git a/.github/workflows/RequestReview.yml b/.github/workflows/RequestReview.yml index b6318634c3e..89e919b4ef4 100644 --- a/.github/workflows/RequestReview.yml +++ b/.github/workflows/RequestReview.yml @@ -10,6 +10,7 @@ jobs: runs-on: ubuntu-latest # PRs from forks don't have required token authorization if: github.event.pull_request.head.repo.full_name == github.repository + && (github.event.review.author_association == 'COLLABORATOR' || github.event.review.author_association == 'MEMBER') steps: - uses: sonarsource/gh-action-lt-backlog/MoveCardToReview@v1 with: diff --git a/.github/workflows/SubmitReview.yml b/.github/workflows/SubmitReview.yml index ce01864c8a3..b7d56bd96e1 100644 --- a/.github/workflows/SubmitReview.yml +++ b/.github/workflows/SubmitReview.yml @@ -12,6 +12,7 @@ jobs: # PRs from forks don't have required token authorization if: | github.event.pull_request.head.repo.full_name == github.repository + && (github.event.review.author_association == 'COLLABORATOR' || github.event.review.author_association == 'MEMBER') && github.event.review.state == 'changes_requested' steps: - uses: sonarsource/gh-action-lt-backlog/MoveCardAfterReview@v1 @@ -24,6 +25,7 @@ jobs: runs-on: ubuntu-latest if: | github.event.pull_request.head.repo.full_name == github.repository + && (github.event.review.author_association == 'COLLABORATOR' || github.event.review.author_association == 'MEMBER') && github.event.review.state == 'approved' steps: - uses: sonarsource/gh-action-lt-backlog/MoveCardAfterReview@v1