Skip to content
Open
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
2 changes: 2 additions & 0 deletions .github/workflows/lock-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ jobs:
path: gemfiles
pattern: lock-dependency-${{ github.run_id }}-*
merge-multiple: true
- name: Stage changes # Since ghcommit-action does not pick up unstaged files
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should run after git diff, otherwise you need to adjust diff to show staged changes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

git diff will not show staged files, one solution should be git add -u after git add gemfiles and git diff --cached.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a simple order change would do a thing

run: git add gemfiles
- run: git diff --color=always
- name: Commit changes
uses: planetscale/ghcommit-action@f24050e41f8694750427d111b52f4ef9ca81a32d # v0.2.18
Expand Down
Loading