Update pipeline to fix Repox authentication for CycloneDX tool install #90
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: Create Pull Request | |
on: | |
pull_request: | |
types: ["opened"] | |
jobs: | |
CreateCardForStandalonePR_job: | |
name: Assign PR to the author and create a Kanban 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 | |
# PRs from forks don't have required token authorization | |
# Dependabot works directly under our repository, but doesn't have enough priviledges to create project card | |
if: | | |
github.event.pull_request.head.repo.full_name == github.repository | |
&& github.event.sender.type != 'Bot' | |
steps: | |
- uses: sonarsource/gh-action-lt-backlog/CreateCardForStandalonePR@v1 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
column-id: 19667121 # Kanban "In Progress" column |