From bfbd53d22005032b897bf277b53b421ad0372217 Mon Sep 17 00:00:00 2001 From: James McMullan Date: Mon, 18 Sep 2023 09:22:15 -0400 Subject: [PATCH] HPCC4J-532 Jirabot fixes - Moved JiraURL to vars - Added mising import for errors Signed-off-by: James McMullan James.McMullan@lexisnexis.com --- .github/workflows/Jirabot.yml | 2 +- .github/workflows/JirabotMerge.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Jirabot.yml b/.github/workflows/Jirabot.yml index f0b54a23d..029ce605b 100644 --- a/.github/workflows/Jirabot.yml +++ b/.github/workflows/Jirabot.yml @@ -28,7 +28,7 @@ jobs: env: JIRABOT_USERNAME : ${{ secrets.JIRABOT_USERNAME }} JIRABOT_PASSWORD : ${{ secrets.JIRABOT_PASSWORD }} - JIRA_URL : ${{ secrets.JIRA_URL }} + JIRA_URL : ${{ vars.JIRA_URL }} PULL_REQUEST_NUMBER : ${{ github.event.pull_request.number }} PULL_REQUEST_TITLE : ${{ github.event.pull_request.title }} PULL_REQUEST_AUTHOR_NAME : ${{ github.event.pull_request.user.login }} diff --git a/.github/workflows/JirabotMerge.yml b/.github/workflows/JirabotMerge.yml index 404b48c0a..8ee3c54ae 100644 --- a/.github/workflows/JirabotMerge.yml +++ b/.github/workflows/JirabotMerge.yml @@ -26,7 +26,7 @@ jobs: env: JIRABOT_USERNAME : ${{ secrets.JIRABOT_USERNAME }} JIRABOT_PASSWORD : ${{ secrets.JIRABOT_PASSWORD }} - JIRA_URL : ${{ secrets.JIRA_URL }} + JIRA_URL : ${{ vars.JIRA_URL }} PULL_REQUEST_NUMBER : ${{ github.event.pull_request.number }} PULL_REQUEST_TITLE : ${{ github.event.pull_request.title }} PULL_REQUEST_AUTHOR_NAME : ${{ github.event.pull_request.user.login }} @@ -40,6 +40,7 @@ jobs: import re import subprocess import time + import sys from jira.client import JIRA def extractVersion(versionStr):