Skip to content

Commit

Permalink
Compare dependency changes with previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarSpruit committed Aug 9, 2023
1 parent dcc849b commit 4cc6951
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update_verification_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 2

- name: Detect dependency changes
id: detect-dependency-changes
run: |
git fetch origin develop --depth 1
if [ -n "$(git diff origin/develop dependencies.gradle)" ];then echo "continue=true" >> "$GITHUB_OUTPUT";else echo "continue=false" >> "$GITHUB_OUTPUT"; fi
if [ -n "$(git diff HEAD^ dependencies.gradle)" ];then echo "continue=true" >> "$GITHUB_OUTPUT";else echo "continue=false" >> "$GITHUB_OUTPUT"; fi
update-verification-metadata:
name: Update verification metadata
Expand Down

0 comments on commit 4cc6951

Please sign in to comment.