Skip to content

Commit

Permalink
ci(update-deps): fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjavi committed Aug 9, 2023
1 parent 0f0c9e8 commit fc0e0a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
updateDependencies:
name: 'Update dependencies'
runs-on: ubuntu-latest
outputs:
pending_git_changes: ${{ steps.compare_changes.outputs.pending_git_changes }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -33,7 +35,8 @@ jobs:
- name: Compare Changes
id: compare_changes
run: |
changes=$(git diff --name-only HEAD~1)
git status
changes=$(git diff --name-only HEAD~0)
echo "Changed Files: $changes"
if [[ -n "$changes" ]]; then
echo "pending_git_changes=yes" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit fc0e0a2

Please sign in to comment.