Skip to content

Commit

Permalink
GitHub workflow: Improve author_association to NONE only (#8506)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-mikula-sonarsource authored Dec 22, 2023
1 parent 0420b6f commit 3ccd115
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/RequestReview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +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')
&& github.event.review.author_association != 'NONE'
steps:
- uses: sonarsource/gh-action-lt-backlog/MoveCardToReview@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/SubmitReview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +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.author_association != 'NONE'
&& github.event.review.state == 'changes_requested'
steps:
- uses: sonarsource/gh-action-lt-backlog/MoveCardAfterReview@v1
Expand All @@ -25,7 +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.author_association != 'NONE'
&& github.event.review.state == 'approved'
steps:
- uses: sonarsource/gh-action-lt-backlog/MoveCardAfterReview@v1
Expand Down

0 comments on commit 3ccd115

Please # to comment.