Skip to content

Commit b88914c

Browse files
check git diff bedore PR
1 parent b450739 commit b88914c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,15 @@ jobs:
147147

148148
env:
149149
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
150+
151+
- name: Check git diff
152+
run: |
153+
[ -z "$(git diff .dappnode_profile)" ] && { echo "nothing to commit"; exit 0; }
154+
150155
- name: Create Pull Request
151156
uses: peter-evans/create-pull-request@v3
152157
with:
158+
add-paths: ".dappnode_profile"
153159
commit-message: "update core packages versions"
154160
branch: "update-profile"
155161
title: "update core packages versions"

0 commit comments

Comments
 (0)