Skip to content

Commit

Permalink
refine versionlog check and bump versionlog
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Apr 22, 2024
1 parent 073538d commit 3a7ed18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/check-log.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ jobs:

- name: Check for VERSIONLOG.MD changes
id: versionlog_check
# 1) Find the common ancestor between the current HEAD and the base branch
# 2) Then see if the versionlog has been updated in the PR since it diverged
# from the common ancestor
run: |
PR_BASE_SHA=$(git merge-base HEAD ${{ github.event.pull_request.base.sha }})
FILE_CHANGED=$(git diff --name-only $PR_BASE_SHA HEAD | grep 'VERSIONLOG.md' || true)
FILE_CHANGED=$(git diff --name-only ${{ github.event.pull_request.base.sha }} HEAD | grep 'VERSIONLOG.md' || true)
if [ -n "$FILE_CHANGED" ]; then
echo "VERSIONLOG.MD has been changed."
else
Expand Down
4 changes: 4 additions & 0 deletions VERSIONLOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# TACA Version Log

## 20240422.1

Refine GHA VERSIONLOG.md check to compare to merge-base, not branch-base.

## 20240410.1

Expand test coverage by starting and checking demultiplexing for a NovaSeqXPlus run.
Expand Down

0 comments on commit 3a7ed18

Please sign in to comment.