Skip to content

Commit

Permalink
Update dependencies in project.clj (#71)
Browse files Browse the repository at this point in the history
outdated.md needs to be removed before creating the PR otherwise it
makes it into the PR.

:no-tests directive needs to be used with lein ancient, so that the
test aren't run straight away, after the dependency upgrade. This way
the PR is created.

Whoever gets the PR will still need to do some manual clean up, but at
least the start of the PR is there and it's visible that the upgrade
should take place.
  • Loading branch information
dotemacs authored Jan 5, 2021
1 parent 7a10264 commit 970b46d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
echo '```' >> outdated.md
cat outdated.md
if [ $(grep -c ':mvn/version' outdated.md) -gt 0 ]; then echo ::set-output name=status::failure; else echo ::set-output name=status::success; fi
rm outdated.md
- if: ${{ steps.deps.outputs.status == 'failure' }}
name: Badge
uses: RubbaBoy/[email protected]
Expand All @@ -50,7 +51,7 @@ jobs:
name: Update stale dependencies
run: |
clojure -M:outdated --write
lein ancient upgrade
lein ancient upgrade :no-tests
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
Expand Down

0 comments on commit 970b46d

Please sign in to comment.