Fix S1854 FP: Raises when variable is assigned in switch statement and not used in the first case #1529
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: Milestone Issue | |
on: | |
issues: | |
types: ["milestoned"] | |
jobs: | |
CreateCardForMilestonedIssue_job: | |
name: Create card | |
runs-on: ubuntu-latest | |
# Single quotes must be used here https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#literals | |
if: github.event.issue.state != 'closed' | |
steps: | |
- uses: sonarsource/gh-action-lt-backlog/CreateCardForIssue@v1 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
column-id: 4971951 # Kanban "To do" column |