Feat/CS-41983 - Exporting the stack role mappings for either all the teams in the org or for specific team #593
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 JIRA ISSUE | |
on: | |
pull_request: | |
types: [opened] | |
jobs: | |
security: | |
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'snyk-bot' || contains(github.event.pull_request.head.ref, 'snyk-fix-') || contains(github.event.pull_request.head.ref, 'snyk-upgrade-')}} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Login into JIRA | |
uses: atlassian/gajira-login@master | |
env: | |
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | |
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | |
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | |
- name: Create a JIRA Issue | |
id: create | |
uses: atlassian/gajira-create@master | |
with: | |
project: ${{ secrets.JIRA_PROJECT }} | |
issuetype: ${{ secrets.JIRA_ISSUE_TYPE }} | |
summary: | | |
${{ github.event.pull_request.title }} | |
description: | | |
PR: ${{ github.event.pull_request.html_url }} | |
fields: "${{ secrets.JIRA_FIELDS }}" |