Skip to content

Commit

Permalink
add rev-list
Browse files Browse the repository at this point in the history
Signed-off-by: kminoda <[email protected]>
  • Loading branch information
kminoda committed Jun 4, 2024
1 parent 4690018 commit 21b49db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cpp-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: Get changed files
id: changed-files
run: |
git rev-list --count origin/main..$(git branch --show-current)
git fetch origin ${{ github.base_ref }} --depth=1
git diff --name-only origin/${{ github.base_ref }} ${{ github.head_ref }} > changed_files.txt
cat changed_files.txt
Expand Down

0 comments on commit 21b49db

Please sign in to comment.