Update postgres Docker tag to v17 #1400
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: Jira | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Jira Workflow | |
steps: | |
- name: Login | |
uses: atlassian/gajira-login@master | |
env: | |
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | |
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | |
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | |
- name: Find Issue | |
id: find_issue | |
shell: bash | |
run: | | |
echo "::set-output name=ISSUE_ID::$(echo ${GITHUB_HEAD_REF} | egrep -o 'GA-[0-9]{1,4}')" | |
echo brach name: $GITHUB_HEAD_REF | |
echo extracted issue: ${GITHUB_HEAD_REF} | egrep -o 'GA-[0-9]{1,4}' | |
- name: Check Issue | |
shell: bash | |
run: | | |
if [[ "${{steps.find_issue.outputs.ISSUE_ID}}" == "" ]]; then | |
echo "Please name your branch according to the JIRA issue: [project_key]-[task_number]-branch_name" | |
exit 1 | |
fi | |
echo succcessfully found JIRA issue: ${{steps.find_issue.outputs.ISSUE_ID}} | |
- name: Transition issue | |
if: ${{ success() }} | |
uses: atlassian/gajira-transition@master | |
with: | |
issue: ${{ steps.find_issue.outputs.ISSUE_ID }} | |
transition: "Code review" |