HCK-7059: fix sonar issues #2
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
# https://github.com/marketplace/actions/jira-description | |
# Requires a JIRA REST api token: https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/ | |
# https://id.atlassian.com/manage-profile/security/api-tokens to generate one with you username | |
# Configure the JIRA_TOKEN secret as a repository action secret as described below: | |
# follow the pattern: <username>:<api token from jira> | |
name: jira-description-action | |
on: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
add-jira-description: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: cakeinpanic/[email protected] | |
name: jira-description-action | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
jira-token: ${{ secrets.JIRA_TOKEN }} | |
jira-base-url: https://hackolade.atlassian.net | |
skip-branches: '^(develop|main|master)$' #optional | |
jira-project-key: 'HCK' #optional | |
use: 'both' | |
fail-when-jira-issue-not-found: false |