Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dependency updater workflow #2263

Merged
merged 6 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: TARGET_SUBMODULE=$SUBMODULE TARGET_VERSION=$VERSION bundle exec scripts/update-dependencies.rb

- name: Commit and push changes
run: bundle exec bumpsnag commit_update $SUBMODULE $VERSION
run: bundle exec bumpsnag commit-update $SUBMODULE $VERSION

- name: List current branch name
id: current-branch
Expand All @@ -56,7 +56,7 @@ jobs:
if: ${{ steps.current-branch.outputs.branch != 'next'}}
run: >
gh pr create -B next
-H bumpsnag-$TARGET_SUBMODULE-$TARGET_VERSION
--title "Update $TARGET_SUBMODULE to version $TARGET_VERSION"
-H bumpsnag-$SUBMODULE-$VERSION
--title "Update $SUBMODULE to version $VERSION"
--body 'Created by bumpsnag'
--reviewer $REVIEWER
1 change: 1 addition & 0 deletions scripts/update-dependencies.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env ruby
require 'bumpsnag'

target_submodule = ENV['TARGET_SUBMODULE']
Expand Down
Loading