Skip to content

Commit

Permalink
use git to access changed files
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jun 11, 2024
1 parent e9d4817 commit bb17fe5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- name: Git diff
run: git diff --name-only -r HEAD^1 HEAD
- name: Log changed files
run: echo "${{ toJSON(github.event.pull_request) }}"
run: echo "${{ contains(git diff --name-only -r HEAD^1 HEAD, 'libs/langchain-cohere') }}"
# - uses: actions/checkout@v4
# - name: Use Node.js ${{ env.NODE_VERSION }}
# uses: actions/setup-node@v3
Expand Down

0 comments on commit bb17fe5

Please sign in to comment.