Commit 44ae4f4f authored by sc979's avatar sc979 Committed by schapron
Browse files

fix(chore): use github action env usage (#81)

parent 05c66bfc
......@@ -6,9 +6,6 @@ on:
branches: [ develop ]
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
JIRA_PROJECT_KEY: "MON"
JIRA_ISSUE_TYPE: "Technical"
......@@ -24,15 +21,19 @@ jobs:
- name: Login to Jira
uses: atlassian/gajira-login@v2.0.0
env:
id: login
with:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
- name: Create Jira Issue
id: create
uses: atlassian/gajira-create@v2.0.1
id: create
with:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
project: ${{ env.JIRA_PROJECT_KEY }}
issuetype: ${{ env.JIRA_ISSUE_TYPE }}
summary: |
......@@ -53,7 +54,6 @@ jobs:
*Github Advisory*
fields:
'{
"customfield_10880": "Internal",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment