Backlog test issue #1184
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: Issue Labeled | |
on: | |
issues: | |
types: ["labeled"] | |
jobs: | |
CreateCardForIssueFromLabel_job: | |
name: Create 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/[email protected] | |
with: | |
secrets: | | |
development/github/token/{REPO_OWNER_NAME_DASH}-kanban token | kanban_token; | |
- uses: sonarsource/gh-action-lt-backlog/CreateCardForIssueFromLabel@Pavel/Dev # FIXME: v1 | |
with: | |
github-token: ${{ fromJSON(steps.secrets.outputs.vault).kanban_token }} | |
project-number: 10 |