Skip to content

Commit

Permalink
changed name of update-dependencies workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Jun 7, 2024
1 parent 4686f32 commit 195dee9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ jobs:
BUNDLE_RUBYGEMS__PKG__GITHUB__COM: ${{ secrets.GITHUB_TOKEN }}
- name: Get gems to update
continue-on-error: true
run: bundle outdated --only-explicit > /tmp/bundle_summary.txt
run: bundle outdated > /tmp/bundle_summary.txt
- name: clean up bundle_summary.txt
run: |
sed -i -n '/^Gem\s.*Current/,$p' /tmp/bundle_summary.txt
cat /tmp/bundle_summary.txt
- name: Update bundler
run: bundle update --bundler
- name: Update gems
Expand All @@ -50,7 +54,7 @@ jobs:
run: bundle exec rspec
- name: generate pr body
run: |
sed $'/BUNDLER_SUMMARY/{r /tmp/bundle_summary.txt\nd}' .github/dependency_update_template.md > /tmp/pr_body_first.md
sed $'/BUNDLER_SUMMARY/{r /tmp/bundle_summary.txt\nd}' .github/update_dependencies_template.md > /tmp/pr_body_first.md
sed $'/NPM_SUMMARY/{r /tmp/npm_summary.txt\nd}' /tmp/pr_body_first.md > /tmp/pr_body.md
- name: Get PR title
run: echo "PR_TITLE=$(date +'%B %Y') dependency updates" >> $GITHUB_ENV
Expand Down

0 comments on commit 195dee9

Please sign in to comment.