Skip to content

Commit

Permalink
fix gha
Browse files Browse the repository at this point in the history
  • Loading branch information
alterationx10 committed Jan 23, 2025
1 parent 45ddedd commit 405aa62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Update dependencies
run: |
scala-cli --power dependency-update branch --all
scala-cli --power dependency-update src --all
git config --global user.name "Mark Rudolph"
git config --global user.email "mark@k8ty.app"
git commit -am "Update dependencies" && echo "changes_exists=true" >> $GITHUB_ENV || echo "No changes to commit" && echo "changes_exists=false" >> $GITHUB_ENV
Expand All @@ -60,12 +60,12 @@ jobs:
--title "Dependency Updates" \
--body "Dependency updates from scala-cli" \
--head dependency-update \
--base main && gh workflow run pr-tests.yml || echo "Pull request already exists or no changes to push"
--base main || echo "Pull request already exists or no changes to push"
- name: Trigger PR Tests
run: |
if [ "$changes_exists" = "true" ]; then
gh workflow run pr-tests.yml || echo "Error running PR tests"
gh workflow run pr-tests.yaml || echo "Error running PR tests"
else
echo "No changes; not running PR tests"
fi

0 comments on commit 405aa62

Please sign in to comment.