Skip to content

Github JIRA Automation #22

Github JIRA Automation

Github JIRA Automation #22

name: Github JIRA Automation
run-name: Github JIRA Automation
on:
workflow_dispatch:
inputs:
dry_run:
type: boolean
description: 'Dry-Run'
required: true
default: True
jobs:
github-to-jira:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Submit Jira
env:
GITHUB_TOKEN: ${{ secrets.GTJ_GH_TOKEN }}
JIRA_TOKEN: ${{ secrets.GTJ_JIRA_TOKEN }}
CONFIG: config/components.json
run: |
python src --dry_run ${{ github.event.inputs.dry_run }}