Skip to content

Commit

Permalink
Merge branch 'master' into prerelease_add
Browse files Browse the repository at this point in the history
  • Loading branch information
hkadayam authored Mar 8, 2024
2 parents 2f96ac9 + 675770c commit cd49f0e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/version_change_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

with:
fetch-depth: 2
- name: Check if file is modified
run: |
if git diff --unified=0 ${{ github.base_ref }}..${{ github.sha }} -- *conanfile.py* | grep -q "^+.*version"; then
if git diff -r HEAD^1 HEAD -- conanfile.py | egrep "[ ]+version = "; then
echo "Version is updated with this PR, OK"
else
echo "Conan version is not updated with this PR. Please update that to allow PR merge"
Expand Down

0 comments on commit cd49f0e

Please sign in to comment.