[Snyk] Upgrade @types/request from 2.47.1 to 2.48.12 #115
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: Dependabot Jira | |
on: | |
pull_request: | |
types: | |
- opened | |
branches: | |
- master | |
env: | |
JIRA_BASE_URL: https://sirius-cybernetics.atlassian.net | |
JIRA_USER_EMAIL: [email protected] | |
JIRA_API_TOKEN: sORnHA8DuENu55HknpV99767 | |
JIRA_PROJECT: asc | |
JIRA_ISSUE_TYPE: Story | |
jobs: | |
create_jira: | |
name: Dependabot Jira | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.user.id == 27856297 #id dependabot user | |
steps: | |
- name: Login to Jira | |
uses: atlassian/[email protected] | |
env: | |
JIRA_BASE_URL: ${{ env.JIRA_BASE_URL }} | |
JIRA_USER_EMAIL: ${{ env.JIRA_USER_EMAIL }} | |
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | |
- name: Create Jira Issue | |
id: create | |
uses: atlassian/[email protected] | |
with: | |
project: ${{ env.JIRA_PROJECT }} | |
issuetype: ${{ env.JIRA_ISSUE_TYPE }} | |
summary: | | |
[${{github.event.repository.name }}] ${{github.event.pull_request.title }} | |
description: | | |
${{github.event.pull_request.html_url }} |