Skip to content

Commit

Permalink
FIXUP
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Jan 7, 2025
1 parent 8ea938a commit 81f73f2
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/check_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,17 @@ jobs:
- name: Update dependencies
id: update-deps
run: |
echo "Output of running \`rebar3 update-deps\`:\n\n\`\`\`" > pr-body.md
TERM=dumb rebar3 update-deps --replace >> pr-body.md
echo "\`\`\`" >> pr-body.md
_update_output="$(TERM=dumb rebar3 update-deps --replace)"
cat <<EOF > /tmp/pr-body.md
Output of running \`rebar3 update-deps\`:
\```
$_update_output
\```
EOF
rebar3 fmt --write
env:
BRANCH_NAME: update-deps-${{ github.run_id }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# We can always run this step because the action will exit silently if there are no changes.
# See: https://github.com/marketplace/actions/create-pull-request#action-behaviour
Expand All @@ -59,7 +63,7 @@ jobs:
branch: "automatic-dependencies-update"
commit-message: "Update dependencies"
title: "Update dependencies"
body-path: pr-body.md
body-path: /tmp/pr-body.md
labels: "dependencies"
assignees: "weppos"
reviewers: "weppos"
Expand Down

0 comments on commit 81f73f2

Please sign in to comment.