Skip to content

Fix S6605 FP: Any is faster than Exists in .NET 9 #3193

Fix S6605 FP: Any is faster than Exists in .NET 9

Fix S6605 FP: Any is faster than Exists in .NET 9 #3193

Workflow file for this run

name: Issue Labeled
on:
issues:
types: ["labeled"]
jobs:
CreateCard_Backlog_job:
name: Create Backlog card from label
runs-on: ubuntu-latest
permissions:
id-token: write
# 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
# Only limited global functions are available in this context https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#functions
if: |
github.event.issue.state == 'Open'
&& startsWith(github.event.label.name, 'Type:')
steps:
- id: secrets
uses: SonarSource/vault-action-wrapper@v3
with:
secrets: |
development/github/token/{REPO_OWNER_NAME_DASH}-kanban token | kanban_token;
- uses: sonarsource/gh-action-lt-backlog/CreateCardForIssueFromLabel@v1
with:
github-token: ${{ fromJSON(steps.secrets.outputs.vault).kanban_token }}
project-number: 10
CreateCard_Kanban_job:
name: Create Kanban card for labeled issue
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
# Only limited global functions are available in this context https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#functions
if: |
github.event.issue.state != 'closed'
&& startsWith(github.event.label.name, 'Sprint:')
steps:
- uses: sonarsource/gh-action-lt-backlog/CreateCardForIssue@v1
with:
github-token: ${{secrets.GITHUB_TOKEN}}
column-id: 4971951