Skip to content

Commit

Permalink
Update updateVersion.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jagankumar-egov authored Jan 9, 2024
1 parent fa64298 commit d665c27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/updateVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Add Changes Based on Logic

on:
push:
branches: [ 'develop' ]
branches: [ 'test-action-commit' ]
paths:
- 'micro-ui/web/micro-ui-internals/**' # Adjust this to the path of the file you want to monitor changes for

Expand All @@ -18,7 +18,7 @@ jobs:
run: |
# Use your own logic here to determine whether to make changes
# For example, check if the file contains a specific keyword or pattern
if jq -e '.dependencies."@egovernments/digit-ui-module-hcmworkbench" |= (test("^[0-9]+\.[0-9]+\.[0-9]+$") | . and (. | split(".") | map(tonumber) | .[2] > 0))' package.json; then
if jq -e '.dependencies."@egovernments/digit-ui-module-workbench" |= (test("^[0-9]+\.[0-9]+\.[0-9]+$") | . and (. | split(".") | map(tonumber) | .[2] > 0))' package.json; then
# Logic to update the file or perform other actions
echo "Dependency version incremented"
else
Expand Down

0 comments on commit d665c27

Please sign in to comment.