Skip to content

Commit

Permalink
Create main.yml for testing GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaxer88 authored Jan 22, 2024
1 parent 0454438 commit 93329fb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Create JIRA issue when GitHub issue is created

on:
issues:
types:
- opened

jobs:
build:
runs-on: ubuntu-latest
name: Jira issue
steps:
- name: Login
uses: atlassian/gajira-login@v3
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

- name: Create
id: create
uses: atlassian/gajira-create@v3
with:
project: VGTVSPHERE
issuetype:
summary: GitHub Issue: github.event_name
description: Created by github.action

- name: Log created issue
run: echo "Issue ${{ steps.create.outputs.issue }} was created"

0 comments on commit 93329fb

Please sign in to comment.