Skip to content

Snyk: snowflake-jdbc net.snowflake:snowflake-jdbc 3.9.2 | Snyk ID - SNYK-JAVA-NETSNOWFLAKE-8310506 #4144

Snyk: snowflake-jdbc net.snowflake:snowflake-jdbc 3.9.2 | Snyk ID - SNYK-JAVA-NETSNOWFLAKE-8310506

Snyk: snowflake-jdbc net.snowflake:snowflake-jdbc 3.9.2 | Snyk ID - SNYK-JAVA-NETSNOWFLAKE-8310506 #4144

Workflow file for this run

name: Jira comment
on:
issue_comment:
types: [created]
jobs:
comment-issue:
runs-on: ubuntu-latest
steps:
- name: Jira login
uses: atlassian/gajira-login@master
env:
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
- name: Extract issue from title
id: extract
env:
TITLE: "${{ github.event.issue.title }}"
run: |
jira=$(echo -n $TITLE | awk '{print $1}' | sed -e 's/://')
echo ::set-output name=jira::$jira
- name: Comment on issue
uses: atlassian/gajira-comment@master
if: startsWith(steps.extract.outputs.jira, 'SNOW-')
with:
issue: "${{ steps.extract.outputs.jira }}"
comment: "${{ github.event.comment.user.login }} commented:\n\n${{ github.event.comment.body }}\n\n${{ github.event.comment.html_url }}"