Fix FP S1186 (no-empty-function
): Ignore noop-like functions, arrows, and constructors
#1186
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 |