Skip to content

Create main.yml for testing GH actions #1

Create main.yml for testing GH actions

Create main.yml for testing GH actions #1

Workflow file for this run

// Create JIRA issue when GitHub issue is created
on:

Check failure on line 3 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
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"