From ee95e6d1b0afe87fa1b31079d03f3eaa69772e6a Mon Sep 17 00:00:00 2001 From: James McMullan Date: Mon, 29 Jan 2024 09:24:23 -0500 Subject: [PATCH] HCCP4J-571 Github Action: Jirabot Merge fails to find tag - Corrected checkout step Signed-off-by: James McMullan James.McMullan@lexisnexis.com --- .github/workflows/JirabotMerge.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/JirabotMerge.yml b/.github/workflows/JirabotMerge.yml index 3fc3dadf0..112abf776 100644 --- a/.github/workflows/JirabotMerge.yml +++ b/.github/workflows/JirabotMerge.yml @@ -24,6 +24,12 @@ jobs: python -m site python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade jira + - name: "Checkout" + uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.base.ref }} + fetch-depth: 0 + fetch-tags: true - name: "Run" env: JIRABOT_USERNAME : ${{ secrets.JIRABOT_USERNAME }}