Skip to content

Standardize on which form of (byID || byId) to use #491

Standardize on which form of (byID || byId) to use

Standardize on which form of (byID || byId) to use #491

Workflow file for this run

name: Tackle UI Issues Sync
defaults:
run:
shell: bash
working-directory: .github/scripts/
on:
issues:
types: [opened, closed, reopened]
jobs:
sync-opened:
runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' && startsWith(github.event.issue.title, '[TACKLE2-') }}
name: New GitHub Issue to sync with Jira
steps:
- uses: actions/[email protected]
- env:
BEARER: ${{ secrets.JIRA_TACKLE_BEARER }}
GH_ISSUE_TITLE: ${{ github.event.issue.title }}
NUMBER: ${{ github.event.issue.number }}
DESCRIPTION: ${{ github.event.issue.html_url }}
REPOSITORY: ${{ github.event.repository.name }}
run: |
./issue_create.sh
sync-reopened:
runs-on: ubuntu-latest
if: ${{ github.event.action == 'reopened' && startsWith(github.event.issue.title, '[TACKLE2-') }}
name: Reopened GitHub Issue to sync with Jira
steps:
- uses: actions/[email protected]
- env:
BEARER: ${{ secrets.JIRA_TACKLE_BEARER }}
GH_ISSUE_TITLE: ${{ github.event.issue.title }}
NUMBER: ${{ github.event.issue.number }}
REPOSITORY: ${{ github.event.repository.name }}
run: |
./issue_transaction.sh 3
sync-closed:
runs-on: ubuntu-latest
if: ${{ github.event.action == 'closed' && startsWith(github.event.issue.title, '[TACKLE2-') }}
name: Closed GitHub Issue to sync with Jira
steps:
- uses: actions/[email protected]
- env:
BEARER: ${{ secrets.JIRA_TACKLE_BEARER }}
GH_ISSUE_TITLE: ${{ github.event.issue.title }}
NUMBER: ${{ github.event.issue.number }}
REPOSITORY: ${{ github.event.repository.name }}
run: |
./issue_transaction.sh 2