Create rule S2187: Test files should contain at least one test case #1126
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Request review | |
on: | |
pull_request: | |
types: ["review_requested"] | |
jobs: | |
MoveCardToReview_job: | |
name: Move card to review | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
# 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 != 'NONE' | |
steps: | |
- id: secrets | |
uses: SonarSource/[email protected] | |
with: | |
secrets: | | |
development/github/token/{REPO_OWNER_NAME_DASH}-kanban token | kanban_token; | |
- uses: sonarsource/gh-action-lt-backlog/MoveCardToReview@v1 | |
with: | |
github-token: ${{ fromJSON(steps.secrets.outputs.vault).kanban_token }} | |
column-id: "14c3336d" # Kanban "Review in progress" column | |
project-number: 8 |