Restore review application details #546
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: 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 |