Skip to content

Commit 7cc4f95

Browse files
authored
Merge pull request #2610 from ruby/workflow-5
Update weekly bundle update workflow.
1 parent 208baf8 commit 7cc4f95

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/bundle-update.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
- name: Run bundle update
3434
run: |
3535
bundle lock --update
36-
git add Gemfile.lock
36+
bundle lock --update --gemfile=steep/Gemfile
37+
git add Gemfile.lock steep/Gemfile.lock
3738
3839
if git diff --cached --exit-code; then
3940
echo "No changes to commit, exiting."
@@ -50,10 +51,10 @@ jobs:
5051
- name: Create Pull Request
5152
if: env.has_update == 'true'
5253
env:
53-
GH_TOKEN: ${{ ${{ secrets.DEPENDABOT_MERGE_GH_TOKEN }} }}
54+
GH_TOKEN: ${{ secrets.DEPENDABOT_MERGE_GH_TOKEN }}
5455
run: |
5556
gh pr create \
56-
--title 'bundle update (`/Gemfile`)' \
57-
--body "Automated bundle update" \
57+
--title "bundle update ($(date +'%Y-%m-%d'))" \
58+
--body "Automated weekly bundle update" \
5859
--head "$(git rev-parse --abbrev-ref HEAD)" \
5960
--base "${{ github.event.repository.default_branch }}"

0 commit comments

Comments
 (0)